DonMichaelCorleone's blog

By DonMichaelCorleone, history, 6 years ago, In English

Hi, I am new at C# and wanted to solve some problems with it. I solved 1006E - Military Problem using C++ during contest time and now wanted to solve that problem exactly like that using C#. But, unfortunately I am getting RTE on Test 3. What wrong am I doing here ? Please, help me.

My C++ submission: 40441764

My C# submission: 41000587

Tags c#, rte
»
6 years ago, # |
  Vote: I like it 0 Vote: I do not like it

This is StackOverfrowException. I also faced the same problem. We are forced to use Stack or Queue at CODEFORCES:)