successfully giving output in my compiler for required input but showing runtime error on submission

its related to proble code-- ELEVSTRS
my lang- pthon 3
my code is logically correct and running fine on my compiler and i also tried on an online compiler but showing runtime error on submission



import math
T = input("No of tests")
while T!=0:
  N=float(input())
  V1=float(input())
  V2=float(input())
  T1 = float((math.sqrt(2)*N)/V1)
  T2 =  (2*N)/V2
  if T1<T2:
    print("Stairs")
  else:
    print("Elevator")

import math
T = int(input() )
for i in range(T):
# right way to read
N, V1, V2 = map(int, input().split(’ ') )

  # comparing only integer value, removing floating point error
  #T1 = float((math.sqrt(2)*N)/V1)
  T1 = (2*N*N)/(V1*v1)
  #T2 = (2*N)/V2 
  T2 = (4*N*N)/(V2*V2)
  if T1<T2: 
    print("Stairs") 
  else: 
    print("Elevator")