Блог пользователя Ahnaf.Shahriar.Asif

Автор Ahnaf.Shahriar.Asif, история, 5 лет назад, По-английски

Hello , Can someone set IOI style problems using codeforces polygon ? Actually can we make a contest using IOI style problems, where we will be able to use subtasks and other stuffs ?

  • Проголосовать: нравится
  • +2
  • Проголосовать: не нравится

»
5 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Find "General Info > Are test points enabled?" and "Tests > Use subtasks" ticks in the problem in Polygon.

»
5 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Yes, it is possible. In checker file you need to change quitf(_ok, ...) to quitp(_pc(SCORE), ...). This will give you 16 + SCORE points for each test. Something like this:

if (extraInOufCount > 0)
    quitf(_wa, "WA");
quitp(_pc(-15), "OK");