See the code below. The problem may be at t=input(). Cuz even I add exit() below t=input(), I get NZEC..
I'm new to python. Plz help me. Thank you!
Click https://www.spoj.pl/problems/DOUGHNUT/4 to see the problem description.
# SPOJ 4138. Harry and big doughnuts
t=input()
for tt in range (0,t):
c,k,w=([int(x) for x in raw_input().split()])
if c*w<=k:
print "yes"
else:
print "no"
created
last reply
- 5
replies
- 1.0k
views
- 4
users
- 1
link