Run Time Error in Codeforces Round #479 E

Revision en4, by harshitkapoor, 2021-06-15 22:12:29

Hi, Can anyone explain why does I get Runtime error whenever I do graph problem while submitting in Python or pypy?

Problem : https://mirror.codeforces.com/contest/977/problem/E

Submission : https://mirror.codeforces.com/contest/977/submission/119559247

Ps: Same issue again, I think it because of recursion

Problem : https://mirror.codeforces.com/contest/1106/problem/D

Submission : https://mirror.codeforces.com/contest/1106/submission/119562804

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English harshitkapoor 2021-06-15 22:12:29 194 Tiny change: '9247\n\n\nPs: ' -> '9247\n\n\n\nPs: '
en3 English harshitkapoor 2021-06-15 21:17:49 23 Tiny change: 'h problem from python or p' -> 'h problem while submitting in Python or p'
en2 English harshitkapoor 2021-06-15 21:15:51 51
en1 English harshitkapoor 2021-06-15 21:10:43 224 Initial revision (published)