Hi Admin,
I've been trying to make a successful submission for "1163. Java vs C ++" ( spoj.pl/problems/JAVAC/), but to all my attempts i get an
"runtime error (NZEC)". having already spent hours drooling over the code, I can't find the reason why my code is failing.
my submission ID is 2766856, admin can you please tell me the error code against my submission.
also, please comment on code snippet responsible for reading input:
def main():
while True:
try:
string = raw_input()
except:
break
if string.find('_') != -1:
toJavaMnemonic(string)
else:
toCPPMnemonic(string)
Thanks.
created
last reply
- 2
replies
- 138
views
- 3
users
- 1
link