BlackBook9406's blog

By BlackBook9406, history, 31 hour(s) ago, In English,

I am getting RE in the question on test case 12. Can anyone give a test case or some insights on what might be causing the issue. Link of submission

EDIT: setting limit recursion to 100000 gave stack exhaustion error in pypy3, but worked in python3. I have no idea why this occurred.

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

»
27 hours ago, # |
  Vote: I like it +1 Vote: I do not like it

add this: sys.setrecursionlimit(10**5)

»
20 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

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