题面:

有个程序在所有输出NO的点上输出为:
NO
YES
.....
.....
spj会判为 PE Extra information in the output file
我想使这个程序跑过去,如何改spj??
部分spj
string a1 = ans.readString();
string res = ouf.readString();
if (res != "YES" && res != "NO")
{
quitf(_wa, "answer must be \"YES\" or \"NO\".");
}
if (a1 != res)
{
quitf(_wa, "answer is wrong.");
}
if (res == "NO\n" || res == "NO")
{
quitf(_ok, "answer is accepted.");
}
int n = inf.readInt();
....
....
....