programming tutorials,programming code,latest programming,programming theory
n,v1,v2=input().split(" ")n,v1,v2=int(n),int(v1),int(v2)tv1=(2**.5*n/v1)tv2=(2*n/v2)if(tv1>tv2): print("cab",end="")else: print("walk",end="")It shows wrong answer, Can you help me out by pointing out the mistake. Thank you in advance
n,v1,v2=input().split(" ")
ReplyDeleten,v1,v2=int(n),int(v1),int(v2)
tv1=(2**.5*n/v1)
tv2=(2*n/v2)
if(tv1>tv2):
print("cab",end="")
else:
print("walk",end="")
It shows wrong answer, Can you help me out by pointing out the mistake. Thank you in advance