{ "type": "Special", "time_limit": 1000000000, "memory_limit": 33554432, "spj": { "language": "cpp.g++", "code": "#include \n#define AC 0\n#define WA 1\nusing namespace std;\nint main(int argc, char *args[]) {\n FILE *f_in = fopen(args[1], \"r\");\n FILE *f_ans = fopen(args[2], \"r\");\n FILE *f_out = fopen(args[3], \"r\");\n int a, b;\n while (fscanf(f_in, \"%d%d\", &a, &b) != EOF) {\n int output;\n if (fscanf(f_out, \"%d\", &output) == EOF || output != a + b) {\n return WA;\n }\n }\n return AC;\n}\n" }, "test_cases": [ { "input": "1 1", "answer": "2" }, { "input": "13 5\n14 7\n23 45", "answer": "18\n21\n68" }, { "input": "24 3\n17 -5\n123 945", "answer": "27\n12\n1068" } ] }