currently I'm trying to get the ADDREV problem done, When I run it with PyCharm or on IdeOne, I don't get any compilation or runtime errors, however SPOJ returns NZEC. Could any of you possibly tell me why?
It might be a dumb question, however I'm only learning Python and thought that SPOJ is a good place to practice.
result = 0
while value > 0:
result = result * 10 + (value % 10)
value = value / 10
howManyLines = int(raw_input())
for i in range(howManyLines):
var1, var2 = map(int, raw_input().split())