Hi guys
I'm encountering this strange issue with python 3.4 NSTEPS.
Here's my submission list:
spoj.com/status/NSTEPS,tuxoko/
As you can see, when I choose "Python 3.4 (Python 3.4)", shown as LANG "PY 3.4", every submission will resulted in TLE with huge memory use.
But if I choose "Python 3 nbc" or "Python 3 (Python 3.4)", shown as LANG "PYTH 3.4", the result are all AC.
The code are essentially identical, as you can see in 14929246, 14928986, and 14928982, they are all the below code:
t = int(input())
while t > 0:
x, y = map(int,input().split())
if x == y:
if x % 2 == 0:
print(2*x)
else:
print(2*x-1)
elif x - y == 2:
if x % 2 == 0:
print(x + y)
else:
print(x + y - 1)
else:
print("No Number")
t -= 1
I've already solved a few problem with "Python 3.4 (Python 3.4)", but this is the first time I encounter something like this.
I wonder why this kind of thing would happen?