dontknowwhy's blog

By dontknowwhy, history, 4 years ago, In English

I observed a unexpected behaviour of vscode while solving atcoder 178 C. The code was accepted on atcoder but vscode gave a error while running for n>=1e5.

Code link

Can somebody point out why it is not running in vscode

  • Vote: I like it
  • 0
  • Vote: I do not like it

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

It works for me entering 1e5

»
4 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Same problem. I guess that's beacuse of too much recursive calls.