mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-23 19:51:52 +00:00
96d4a3ecf7
Due to historical reasons, the code is in subfolder "1". With SVN removal, we place the code back and remove the annoying "1" folder.
17 lines
360 B
C++
17 lines
360 B
C++
#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);
|
|
}
|