Untitled
unknown
plain_text
a year ago
638 B
5
Indexable
Never
import math # import sys # import os # import io # input = io.BytesIO(os.read(0, os.fstat(0).st_size)).readline # output = sys.stdout.buffer.write # def print(*values, sep=" ", end="\n"): # output(sep.join(str(value) for value in values).encode()) # output(end.encode()) t = int(input()) def solve(): ans = 0 d, k = map(int, input().split()) a2 = d**2 // (2 * k**2) # print(a2) i = 0 while (i + 1) ** 2 <= a2: i += 1 # print(i) if d * d >= i * i * k * k + (i + 1) * (i + 1) * k * k: print('Ashish') return print('Utkarsh') for _ in range(t): solve()