Help me in solving MARKSTW problem

My issue

My code

# cook your dish here
for i in range(int(input())):
    x = input().split()
    if int(x[0])>=((int(x[1])*2):
        print("YES")
    else:
        print("NO")

Problem Link: MARKSTW Problem - CodeChef

if Alice has more score than 2 times of bob's score (or equal) than she is happy(Thus print "yes")

X,Y=map(int,input().split())
if X>=(2*Y):
print(“YES”)
else:
print(“NO”)

See, you have mixed java here. You don’t use int in the loops and the input is not taken like that.

Use the map() function to take multiple inputs in a single line.

x,y = map(int,input().split())

if x>=y:
   print("YES")
else:
  print("NO")