function recursion in python: help me to know what happend!
Difference between en3 and en4, changed 4 character(s)
in the name of god↵

i'm new to python and i write recursion function in it for solving [this problem](http://codeforces.net/problemset/problem/1195/C) and i get [runtime error on test 5.](http://codeforces.net/problemset/submission/1195/95969596)↵


why recursion function in python gets runtime error?↵


its ok in [c++](http://codeforces.net/problemset/submission/1195/95983455).↵



thanks for your helping!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English ya_hossein 2020-10-19 15:18:15 4 Tiny change: 'e error?\nits ok i' -> 'e error?\n\n\nits ok i'
en3 English ya_hossein 2020-10-19 15:17:45 36
en2 English ya_hossein 2020-10-19 15:16:25 20 Tiny change: 'e of god\n==================\n\ni'm ne' -> 'e of god\n\ni'm ne'
en1 English ya_hossein 2020-10-19 15:15:49 458 Initial revision (published)