ritikagupta8734's blog

By ritikagupta8734, history, 5 years ago, In English

Sol link: https://codeforces.net/contest/977/submission/83371644

Can someone point out why I am getting runtime error in test case 4?

  • Vote: I like it
  • -21
  • Vote: I do not like it

| Write comment?
»
5 years ago, # |
  Vote: I like it 0 Vote: I do not like it

try increasing recursion stack size in python. I think default size is too small for doing dfs.

»
5 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Stop using Python!