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

Full text and comments »

Tags c#, rte
By DonMichaelCorleone, history, 7 years ago, In English

I am new to Python. I have already solved this 377A - Maze by DFS with C++ ( 29469941 ). To practice Python, I implemented the same approach with Python ( 29553044 ) but getting RTE on test 7. Please help me.

Thanks in advance :-)

Full text and comments »

By DonMichaelCorleone, history, 7 years ago, In English

Who are they ?

What they want ?

What action will be taken against this -_- Image Link

Full text and comments »

By DonMichaelCorleone, history, 8 years ago, In English

How to print all the solutions of a knapsack DP problem solved by recursive manner ? Where every element can be picked more than one time.

I only can print the result ( like "yes"/"no", maximum sum/minimum cost etc, number of ways etc).

Sorry for my bad English.

Full text and comments »

By DonMichaelCorleone, history, 8 years ago, In English

How to calculate (a! / b!) % mod where n is 1<=n<=20000000, m is 1<=m<=n and mod is a positive integer ?

Full text and comments »

By DonMichaelCorleone, history, 8 years ago, In English

Hello,

Recently I submitted my code for this problem and was hoping to get accepted.

Surprisingly I got compilation error !

Then I submitted again, it got accepted.

Can I know what is the reason of this ? :)

Thanks in advanced. Link: First submission Second submission

Full text and comments »