Python Headache: Problems with Recursion Limit

Правка en2, от KadiyalaSaiManoj, 2016-05-31 12:45:03

It seems python has a low recursion Limit creating problems like runtime error. I have faced this problem in the following questions. It seems we have to use sys.setrecursionlimit().

667C - Ребляндская лингвистика without using sys.setrecursionlimit 18166330.

passed 18165938.

but this is also not working in some cases

445A - DZY любит шахматную доску (python3 runtime-error with limit set) 18166280.

(python2 same code) 18166286

Can anyone shed some light over this topic

did anyone face similar problems with python and why python3 is failing and python2 is passing with eventhough i set recursionlimit explicilty.

Thanks

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский KadiyalaSaiManoj 2016-05-31 12:45:03 17 (published)
en1 Английский KadiyalaSaiManoj 2016-05-31 12:43:17 725 Initial revision (saved to drafts)