el_heffeh's blog

By el_heffeh, history, 6 weeks ago, In English,

Hello,

Recently I had just participated in Codeforces Round #654 (Div. 2). I submitted a solution for D at the last second (1:59:59) but it said "Contest is over" because the submit button has a 1-2 second delay. @MikeMirzayanov can you please add some functionality to have a small 1-2 second grace period after the contest is over for people who submit at the last second? I know I still have to get better but for some I think this would be very beneficial.

Thanks.

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

»
6 weeks ago, # |
Rev. 3   Vote: I like it +21 Vote: I do not like it

I don't think mike will add this feature.

Contests are like exams.The duration is $$$2$$$ hours, $$$120$$$ minutes, $$$7200$$$ seconds, exactly, for everyone.

We cannot give you one more second to submit your solution, or it'll be unfair to others.

Every second during the contest is the same valuable, even for the first second, as well for the last second.

  • »
    »
    6 weeks ago, # ^ |
      Vote: I like it -36 Vote: I do not like it

    During an exam, when teacher starts collecting the answer sheets, students sitting in the last row get a minute or two extra... So, analogically, why not here !? :)

  • »
    »
    6 weeks ago, # ^ |
      Vote: I like it +4 Vote: I do not like it

    Sorry, I didn't just mean this for me. I also meant for everyone, because if submissions are locked pretty much after three seconds left, then the contest (technically) is 1 hour, 59 minutes, and 57 seconds instead of 2 hours. So I think that it would be a good idea to — Have the submit button be instant without delay or — Allow submissions that pressed submit at the last second. Let me know what you think.

    • »
      »
      »
      6 weeks ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      I don't think it's a bad idea, but it could be technically hard to implement.

      Once ago I was frustrated by the delay too(although that solution wasn't correct), but the contests are fair, so the only option is to get experience from it.

      In my opinion people should be aware of the time left, submit the solutions earlier but not at the very last second.

      Actually you can get your under-pressure performance trained, then that pity-mistake would never be made again.

    • »
      »
      »
      6 weeks ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      I was also saying for everyone and not only you but people misunderstood my point.

      • »
        »
        »
        »
        6 weeks ago, # ^ |
        Rev. 2   Vote: I like it 0 Vote: I do not like it

        I'm sorry if it looks confusing but I didn't reply to your comment. I was replying to dapingguo8's first comment.

»
6 weeks ago, # |
  Vote: I like it +20 Vote: I do not like it

No but then there will be some users who gonna say can't we get 2-3 more seconds ... because no matter there will be some end and at that there will be someone standing there and asking Oh what if I got those extra seconds ...

»
6 weeks ago, # |
  Vote: I like it +13 Vote: I do not like it

In reality though, most probably the page loads for 2-3 seconds in your case, which causes the contest timer in the user interface display the wrong time. So, the contest lasts for 2 hours exactly, but when the contest timer shows 00:00:10 left, it might actually be 00:00:07 or so because the page didn't load instantly.

»
6 weeks ago, # |
  Vote: I like it +10 Vote: I do not like it

The problem isn't a delay in codeforces. Is your internet. It takes some time to your code reach the server, wich I assume it is in Russia. So the delay may be bigger to you and smaller to others. By the time your code reaches the server, the contest may already be finished. There is nothing Mike can do.

  • »
    »
    6 weeks ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Hmm... I guess that's true. I probably just have to be faster and better in the future...