amoo_safar's blog

By amoo_safar, history, 15 months ago, In English,

hi everybody

I think in virtuals of contests that had pretests there should be pretests too!

because if we had some little bug but our code passed the pretest but failed system test after virtual contest it would be more similar to the result that we would get if we participate in original contest.

what is your opinion ? please tell me in comments. thanks!

sorry for my bad english .

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

»
15 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Yes, it is a good idea. Cheers.

»
15 months ago, # |
  Vote: I like it +44 Vote: I do not like it

IMHO,

Virtual contests are more about practice rather than real competition. For practicing it doesn't really matter when will you discover a bug in your solution — after a few seconds or a few hours. Also you almost never can be sure when your solution will fail on pretests rather than on system test, so you may safely consider failing on any test out of samples as a system test failure.

But even if some people (like me) see no point in this feature implementing this as an option for virtual contests will definitely make no harm for anyone, and if some people need it why not?

  • »
    »
    15 months ago, # ^ |
      Vote: I like it +47 Vote: I do not like it

    Maybe the system can tell you if you failed at a pretest or a system test. So that if you fail to a system test you can just choose to ignore that and pretend you actually fail to system tests :Dd

»
15 months ago, # |
Rev. 2   Vote: I like it +14 Vote: I do not like it

Getting a wrong answer after a contest is nerve racking! I prefer not to have that in virtuals.

I think the only reason for having pretests in the actual contest is so that the servers wouldn't overload when many participants submit their codes at once and it doesn't take too long to test the codes. Since this is not a problem in a virtual participation, it's unnecessary to have pretests.

»
15 months ago, # |
  Vote: I like it +19 Vote: I do not like it

That's a valid concern. I always wondered why is it like that. Having it tested on pretests only would definitely emulate real contest better and I would prefer that.

  • »
    »
    15 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Probably because it's easier to implement using the current checking mechanism.

»
15 months ago, # |
  Vote: I like it +4 Vote: I do not like it

Nice idea, and it'd be perfect if we could choose in the beginning if we want it to be CF-style or ACM-style.

Btw, in virtual contests nobody can hack your fixed srand seed :/

»
15 months ago, # |
  Vote: I like it +30 Vote: I do not like it

I think it is good idea to make virtuals more similar to real contests, but in somebody's opinion virtual is for practice and it shouldn't fail after virtual.

i think it should be something optimal in virtual so everybody choose what he want.

and another good option is to select style of competition too! (ACM-style or CF-style [for contests that were CF-style]).

so with this features virtuals becomes more ideal for everybody !!!!

»
2 months ago, # |
  Vote: I like it +14 Vote: I do not like it

This and this: https://codeforces.com/blog/entry/65806 are blog posts with >100 upvotes about the same issue.

It's a shame that there's no response CF administration.

»
2 months ago, # |
  Vote: I like it +22 Vote: I do not like it

While Codeforces doesn't support this natively, it's possible to use a userscript to achieve the same effect.

I wrote a user script below. Currently it only modifies the "my submission" page.

Code

Please report any bug that you can find.