in the name of god
i'm new to python and i write recursion function in it for solving this problem and i get runtime error on test 5. why recursion function in python gets runtime error? its ok in c++.
| # | User | Rating |
|---|---|---|
| 1 | Benq | 3792 |
| 2 | VivaciousAubergine | 3647 |
| 3 | Kevin114514 | 3603 |
| 4 | jiangly | 3583 |
| 5 | strapple | 3515 |
| 6 | tourist | 3470 |
| 7 | dXqwq | 3436 |
| 8 | Radewoosh | 3415 |
| 9 | Otomachi_Una | 3413 |
| 10 | Um_nik | 3376 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 158 |
| 2 | adamant | 152 |
| 3 | Um_nik | 146 |
| 4 | Dominater069 | 144 |
| 5 | errorgorn | 141 |
| 6 | cry | 139 |
| 7 | Proof_by_QED | 136 |
| 8 | YuukiS | 135 |
| 9 | chromate00 | 134 |
| 9 | TheScrasse | 134 |
function recursion in python: help me to know what happend!
in the name of god
i'm new to python and i write recursion function in it for solving this problem and i get runtime error on test 5. why recursion function in python gets runtime error? its ok in c++.
| Rev. | Lang. | By | When | Δ | Comment | |
|---|---|---|---|---|---|---|
| en4 |
|
ya_hossein | 2020-10-19 15:18:15 | 4 | Tiny change: 'e error?\nits ok i' -> 'e error?\n\n\nits ok i' | |
| en3 |
|
ya_hossein | 2020-10-19 15:17:45 | 36 | ||
| en2 |
|
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 |
|
ya_hossein | 2020-10-19 15:15:49 | 458 | Initial revision (published) |
| Name |
|---|


