Sadat999's blog

By Sadat999, 2 months ago, In English

Problem from CF EDU.

Problem Description

I am getting RTE for literally all possible submissions I can make. Here is my poor RTE'd submission.

Local testing showed that the second submission is working correctly for the value of n up to 10000, but for higher values, it is not.

Can anyone please explain the reason behind this weird behaviour and the way to fix it?

Read more »

  • Vote: I like it
  • -6
  • Vote: I do not like it