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

Revision en4, by MStrechen, 2016-11-06 00:15:33

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 the checker gives me 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?

UPD: quitp(_pc(200),"OK") except quit(_pc(200),"OK") makes all right. I hope anyone who will have the same problem will see this.

Tags testlib, partial solution, partially correct

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English MStrechen 2016-11-06 00:15:33 9
ru2 Russian MStrechen 2016-11-06 00:15:08 157 (опубликовано)
en3 English MStrechen 2016-11-06 00:13:22 137 (saved to drafts)
en2 English 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 English MStrechen 2016-11-06 00:04:24 518 Initial revision for English translation
ru1 Russian MStrechen 2016-11-05 23:43:54 631 Первая редакция (опубликовано)