这是我的Special Judge代码:
#include "testlib.h"
int main(int argc, char* argv[]) {
registerTestlibCmd(argc, argv);
while(!ans.eof())
{
if(ouf.readString()!=ans.readString())
quitf(_wa, "The answer is wrong.");
}
quitf(_ok, "The answer is correct.");
return 0;
}
cmd调试答案是对的,为什么这道题用Special Judge就不对了呢??????????????
为什么我故意把最后一道题填上错误的答案后输出不是The answer is wrong.而是Wrong Answer.wrong answer On line 1 column 3, read 2, expected 3.了呢???难道这是luogu的bug吗???????
求给出解答。