{"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":"在坐标轴上,有一个以 (0,0)为圆点,d 为半径的圆。\n现在 Ashish 和 Utkarsh 玩游戏,Ashish 是先手。\n在 (0,0) 处有一颗棋子,两人轮流将棋子向上或向右移动 k 个单位,棋子不能移出圆,谁无法移动谁输。换句话说你所在的点(p,q)必须满足p^2+q^2\u003c\u003dd^2"}},{"title":"Input","value":{"format":"HTML","content":"第一行一整数t(1≤t≤100 ),代表t组测试样例\u003cbr\u003e\n第二行输入两个数字d,k,分别代表圆的半径为d( 1≤d≤1e5),每人每次只能向上或向右移动k ( 1≤k≤d)步。"}},{"title":"Output","value":{"format":"HTML","content":"谁赢输出谁的名字"}},{"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 1\n5 2\n10 3\n25 4\n15441 33\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\u003eUtkarsh\nAshish\nUtkarsh\nUtkarsh\nAshish\n\u003c/pre\u003e\n \u003c/div\u003e\n\u003c/div\u003e"}},{"title":"Note","value":{"format":"HTML","content":"第一组测试样例,A先走到(1,0),U再走到(2,0),A无法再走,U赢\n\u003cp\u003e\u003cimg class\u003d\"tex-graphics\" src\u003d\"CDN_BASE_URL/430cc189c42bb8f2c831acb9081eef3e?v\u003d1606624945\" style\u003d\"max-width: 100.0%;max-height: 100.0%;\"\u003e\u003c/p\u003e"}}]}