Codeforces celebrates 10 years! We are pleased to announce the crowdfunding-campaign. Congratulate us by the link https://codeforces.com/10years. ×

LostSomewhereElse's blog

By LostSomewhereElse, history, 19 months 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
 
 
 
 
  • Vote: I like it
  • +2
  • Vote: I do not like it

»
12 months 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:)