My issue
I can’t able to figure-it out what was problem in my code?
My code
# cook your dish here
t = int(input())
for _ in range(t):
a,b = map(int,input().split())
# if((100-a/100)>(200-b/100)):
# print("FIRST")
# elif((100-a/100)==(200-b/100)):
# print("BOTH")
# else:
# print("SECOND")
c = 100 - int(100*a/100)
d = 200 - int(200*b/100)
if(c>d):
print("FIRST")
elif(c<d):
print("SECOND")
else:
print("BOTH")
Problem Link: BETDEAL Problem - CodeChef