0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-26 22:11:59 +00:00
OI-codes/Hydro/system_test/8/data/checker.cc
2022-09-17 16:23:49 +08:00

12 lines
303 B (Stored with Git LFS)
C++

#include "testlib.h"
int main(int argc, char* argv[]) {
setName("compares two signed integers");
registerTestlibCmd(argc, argv);
int ja = ans.readInt();
int pa = ouf.readInt();
if (ja != pa)
quitf(_wa, "expected %d, found %d", ja, pa);
quitf(_ok, "answer is %d", ja);
}