{"trustable":false,"prependHtml":"\u003cstyle type\u003d\u0027text/css\u0027\u003e\n .input, .output {\n border: 1px solid #888888;\n }\n .output {\n margin-bottom: 1em;\n position: relative;\n top: -1px;\n }\n .output pre, .input pre {\n background-color: #EFEFEF;\n line-height: 1.25em;\n margin: 0;\n padding: 0.25em;\n }\n \u003c/style\u003e\n \u003clink rel\u003d\"stylesheet\" href\u003d\"//codeforces.org/s/96598/css/problem-statement.css\" type\u003d\"text/css\" /\u003e\u003cscript\u003e window.katexOptions \u003d { disable: true }; \u003c/script\u003e\n\u003cscript type\u003d\"text/x-mathjax-config\"\u003e\n MathJax.Hub.Config({\n tex2jax: {\n inlineMath: [[\u0027$$$\u0027,\u0027$$$\u0027], [\u0027$\u0027,\u0027$\u0027]],\n displayMath: [[\u0027$$$$$$\u0027,\u0027$$$$$$\u0027], [\u0027$$\u0027,\u0027$$\u0027]]\n }\n });\n\u003c/script\u003e\n\u003cscript type\u003d\"text/javascript\" async src\u003d\"https://mathjax.codeforces.org/MathJax.js?config\u003dTeX-AMS_HTML-full\"\u003e\u003c/script\u003e","sections":[{"title":"","value":{"format":"HTML","content":"春节快到了,张三决定剪n张贺卡给他的n个朋友,每人一张。他有一张长为h,宽为w的大贺卡。张三一刀可以且只可以把贺卡剪成平均的两半:要求全程所有贺卡的长宽均为整数。现在给你这张长为h,宽为w的大贺卡,要求剪出至少等于n张的长宽均为整数的贺卡,问能否实现。"}},{"title":"Input","value":{"format":"HTML","content":"第一行包含一个整数t(1≤t≤10^4)——表示t组样例。\n每个样例包含三个整数w, h, n(1≤w,h≤10^4,1≤n≤10^9)——贺卡的长宽以及朋友的个数。"}},{"title":"Output","value":{"format":"HTML","content":"能满足条件输出:“YES”,否则输出“NO”。\n您也可以输出“YES”和“NO”的大小写形式(例如,“yEs”,“yes”也被认为是正确的)。"}},{"title":"Example","value":{"format":"HTML","content":"\u003cdiv class\u003d\"sample-test\"\u003e\n \u003cdiv class\u003d\"input\"\u003e\n \u003cdiv class\u003d\"title\"\u003e\n Input\n \u003c/div\u003e\n \u003cpre\u003e5\n2 2 3\n3 3 2\n5 10 2\n11 13 1\n1 4 4\n\u003c/pre\u003e\n \u003c/div\u003e\n \u003cdiv class\u003d\"output\"\u003e\n \u003cdiv class\u003d\"title\"\u003e\n Output\n \u003c/div\u003e\n \u003cpre\u003eYES\nNO\nYES\nYES\nYES\n\u003c/pre\u003e\n \u003c/div\u003e\n\u003c/div\u003e"}},{"title":"Note","value":{"format":"HTML","content":"第一个样例可以切出1*1的4张。\n第二个样例不能再切。\n第三个样例切成5*5的2张。\n"}}]}