General
 
 
# Author Problem Lang Verdict Time Memory Sent Judged  
99165759 Contestant:
amhyou
1451D - 27 PyPy 3 Accepted 234 ms 48 KB 2020-11-21 18:47:46 2020-11-21 21:17:12
→ Source
t=int(input())
import math
for _ in range(t):
	d,k=map(int,input().split())
	c=["Ashish","Utkarsh"]
	
	i=int(d/(k*math.sqrt(2)))
	if (i*k)**2+(i*k+k)**2<=d**2:
		print(c[0])
	else:
		print(c[1])
?
Time: ? ms, memory: ? KB
Verdict: ?
Input
?
Participant's output
?
Jury's answer
?
Checker comment
?
Diagnostics
?
Click to see test details