S2OJ/judge_client/1/uoj_judger/builtin/checker/icmp.cpp

17 lines
360 B
C++
Raw Permalink Normal View History

2016-11-17 02:08:31 +00:00
#include "testlib.h"
#include <stdio.h>
int main(int argc, char * argv[])
{
setName("compare two signed int%d's", (int)(8 * sizeof(int)));
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);
}