kefaa's blog

By kefaa, 8 years ago, In English

Today I found I can choose IOI format for my mashup (in "Edit" tab). It looks like a new feature but I can't deal with it :D.

Submitting author's solution returns the next verdict: "Partial result: 0 points"

Opening standings references me to error page:

So I thought I should set points for the problem in polygon, but I didn't find such feature. Codeforces, how to set an IOI-style contest in mashup if it possible? Or is this feature still under development?

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

»
8 years ago, # |
Rev. 3   Vote: I like it +15 Vote: I do not like it

So far as I know, partial score is possible as long as the checker provides a corresponding response.(and the mushup is in IOI mode)

Use quitp(_pc(SCORE),"OK"); in the checker with testlib.h included. (0<=SCORE<=200) and the score for a test will be 16+SCORE (according to my test). And the score for a problem will be the sum for all test cases.

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

    Can you let the score be present in the scoreboard?

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

    Nice, thanks!

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

    Actually, SCORE may be not in range [0;200].

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

      Thanks for pointing that out. I read the documentation which said about the range 0-200. Maybe the documentation is not up to date or such restriction only applies in some cases.

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

Hi, how do you add tests in Polygon?

My problem is partial scoring (with correct answer, not NP optimization problems).

I don't see any option to upload output, and when I run Invocation / Create Package, it would complain:

[Unexpected verdict CRASHED: Checker 'checker.cpp' returns exit code 5 [partially correct (5) OK]]

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

    More on what I did:

    • I uploaded a solution (tagged as "Main correct solution")
    • I created a checker, only change 1 line from default CF checker like following:
    quitf(_ok,...)
    

    to

    quitf(_pc(5), "OK");
    
    • I ran Invocation. At this step it failed: "Checker 'checker.cpp' returns exit code 5 [partially correct (5) OK]".

    As I understand, this is because it tried to run my "Main correct solution", and checker says Partially correct, instead of AC.

»
8 years ago, # |
Rev. 2   Vote: I like it +33 Vote: I do not like it

It seems few people in this thread, including myself have issue with scoreboard of IOI contests.

Can anyone from CF help us with this? MikeMirzayanov KAN?

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

    Looks like there is no such bug already (thanks to BigBag for pointing this out).

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

Can I make it add score after judging a whole testset ?

»
5 years ago, # |
  Vote: I like it +1 Vote: I do not like it

Hi,

After passing all test cases why I only have "Partial result" but not "Perfect result"?

I have no idea how to fix it.

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

    I think you can't get "Perfect result" by using quitp(_pc(score-16)) in the checker; you can only get it by using this.