6.1.0 - Testlib Checker
Checker Example:
#include "testlib.h"
#include <cmath>
int main(int argc, char *argv[])
{
registerTestlibCmd(argc, argv);
int pans = ans.readInt(), pout = ouf.readInt();
if (pans == abs(pout)) {
quitf(_ok, "The answer is correct.");
}
else {
quitf(_wa, "The answer is wrong: expected = %d, fount = %d.", pans, pout);
}
return 0;
}
Full Changelog: 6.0.0...6.1.0