When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

lmn0x4F's blog

By lmn0x4F, history, 4 years ago, In English

Hi, codeforces,

Today we hosted our local contest and we'd like to host it online for people who couldn't attend. We already uploaded the problems to polygon and added them to a mashup contest, which I then add to a group and works fine, I don't know if it's the best way but it works.

But we would like very much if we could add ghosts participants of the original contest. We hosted it in DOMJudge and I have a scoreboard.tsv, but I don't know what format codeforces expects and can't find it anywhere. If I try with my .tsv I get "Invalid DAT-file syntax: Can't find divider character." If you could point me to what format this expects I would appreciate it :)

Thank you

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

»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by lmn0x4F (previous revision, new revision, compare).

»
4 years ago, # |
Rev. 6   Vote: I like it +11 Vote: I do not like it

I can't find a lot of details either, but I guess you can get some information from:

https://codeforces.com/blog/entry/6268#comment-513038
https://codeforces.com/blog/entry/20927#comment-262023
https://codeforces.com/blog/entry/10077?locale=en

you needs to convert it to required ("TestSys") format and to name it as "contest.dat".

Other than that, I can't find any information about what is "TestSys". If your input format is supported by the converter (linked above) you can just use that, otherwise you have to implement your own parser class, read the source code, or look at some sample contest.dat output files in the project to see what's the expected output format.

  • »
    »
    4 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Hey those examples should be enough :D thank you! i'll give it a try

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

    You are a hero!

    I could add the ghosts thanks to the examples.

    As you pointed, dalex made a converter but doesn't support the format I had, but for anybody looking for the same, you should give it a look: github repo

    Anyways, the format is pretty straight forward, if you are also looking for this, give a look to the examples (Note that is OK and not AC for accepted submissions :) I lost like 20 minutes because of this hahaha)

    This is a very nice feature! :)

    • »
      »
      »
      4 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Would any of you know if adding ghosts for OI-style contests (with subtask scoring) is supported?