How to use _pc(n) in checkers (testlib.h)

Правка en1, от MStrechen, 2016-11-06 00:04:24

Hello everyone!

I have a problem on the Polygon and I`d like to make it not just Yes/No verdict, but with some scoring (for partial solutions). What should I do?

I was trying just to use quit(_pc(200), "OK"); and it returns FL (verdict FL violates solution's tag MAIN) with "Checker 'checker.cpp' returns exit code 200 [partially correct (200) OK]". Next tests are ignored (got RJ).

So, how to make Polygon to run the solution on all tests and show the sum of scores?

Теги testlib, partial solution, partially correct

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский MStrechen 2016-11-06 00:15:33 9
ru2 Русский MStrechen 2016-11-06 00:15:08 157 (опубликовано)
en3 Английский MStrechen 2016-11-06 00:13:22 137 (saved to drafts)
en2 Английский MStrechen 2016-11-06 00:06:31 20 Tiny change: 'OK"); and it returns FL (verdi' -> 'OK"); and the checker gives me FL (verdi'
en1 Английский MStrechen 2016-11-06 00:04:24 518 Initial revision for English translation
ru1 Русский MStrechen 2016-11-05 23:43:54 631 Первая редакция (опубликовано)