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