ZiadEl-Gafy's blog

By ZiadEl-Gafy, history, 2 years ago, In English

I took part in round #824 and my submission in 824C during the round later failed the system tests with verdict TLE. I thought fair enough, and later wanted to check if somewhere in the code it got stuck in an endless loop.

I added a variable to count the number of iterations of a loop and an assert statement to ensure it doesn't run longer than expected, as is shown in the picture below.

I submitted the code to see if it would get TLE again or if the assertion would fail, and to my surprise it got Accepted.

This is the link of the submission made during the round which later failed system tests: link

This is the link of the submission made after the round which got Accepted: link

The only changes made to the code are the ones shown in the picture above. So, I was hoping someone would have an explanation as to why my solution failed system tests.

MikeMirzayanov

Full text and comments »

  • Vote: I like it
  • +21
  • Vote: I do not like it

By ZiadEl-Gafy, history, 3 years ago, In English

I've recently been facing this problem where some problems that I've already solved before appear as new ones. It doesn't say Accepted and I can't find my old submissions in the "My Submissions" tab, "Status" tab or the problem itself. The only tell that I've solved this problem before is the green colour on the contest dashboard. This has happened several times over the past month.

Please tell me if you're facing this problem too.

Full text and comments »

  • Vote: I like it
  • +18
  • Vote: I do not like it