General
 
 
# Author Problem Lang Verdict Time Memory Sent Judged  
199426634 Practice:
ayushnew_7
1451D - 27 PyPy 3-64 Accepted 62 ms 20 KB 2023-03-27 18:03:36 2023-03-27 18:03:36
→ Source
import math
t=int(input())
for i in range(t):
    d,k=map(int,input().split())
    p=int(d/(math.sqrt(2)*k))
    if (2*p*p+2*p+1)*k*k<=d*d:
        print("Ashish")
    else:
        print("Utkarsh")
?
Time: ? ms, memory: ? KB
Verdict: ?
Input
?
Participant's output
?
Jury's answer
?
Checker comment
?
Diagnostics
?
Click to see test details