Please subscribe to the official Codeforces channel in Telegram via the link: ×

Least_but_not_the_last's blog

By Least_but_not_the_last, history, 9 months ago, In English,

I'm trying to solve this problem in csacademy. I solved it in C++ but translating the same code in python 3 gets "Non zero exit code = 1" verdict. What does it mean? I have experienced this verdict first time & got no explanation anywhere C++_code: Python_3_code:

upd: got it. it was caused due to "by default recursion limit in python". so a simple line "sys.setrecursionlimit(100000)" solve the problem.

  • Vote: I like it  
  • +11
  • Vote: I do not like it  

9 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by Least_but_not_the_last (previous revision, new revision, compare).