Runtime Errror in Uncle Bogdan and Country Happiness
Difference between en1 and en2, changed 138 character(s)
I am getting RE in the [question](https://codeforces.com/contest/1388/problem/C) on test case 12. Can anyone give a test case or some insights on what might be causing the issue.↵
[Link of submission](https://codeforces.com/contest/1388/submission/88714320)↵

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

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English BlackBook9406 2020-08-02 22:52:48 138 Tiny change: '8714320)\nEDIT:\ns' -> '8714320)\n\nEDIT:\ns'
en1 English BlackBook9406 2020-08-02 11:38:40 311 Initial revision (published)