@[_RSY_](/user/46197)
@[Maxmilite](/user/274993)
@离散小波变换°
@[feecle6418](/user/42156)
@[minstdfx](/user/100250)
@[_bzy](/user/213388)
@realskc
听说你们管这种事,所以我想at你们
by Ryzen_9_7950X @ 2023-12-03 16:24:33
@[Ryzen_9_7950X](/user/1023961) 感谢您的贡献,但经测试,checker 无法正常工作。
by Maxmilite @ 2023-12-08 20:21:18
@[Maxmilite](/user/274993) 几天后我会再交一版,到时候麻烦再帮忙测试一下,谢谢!
by Ryzen_9_7950X @ 2023-12-08 20:22:44
@[Maxmilite](/user/274993) 麻烦帮忙测试一下,我现在就写好SPJ了
```cpp
#include "testlib.h"
int main(int argc,char* argv[])
{
registerTestlibCmd(argc, argv);
std::string x = ans.readToken();
std::string y = ouf.readToken();
if(x == "Cannot")
{
if(y != x)
{
quitf(_wa, "The answer is wrong: expected = %s, found = %s", x.c_str(), y.c_str());
}
x = ans.readToken();
y = ouf.readToken();
if(y != x)
{
quitf(_wa, "The answer is wrong: expected = %s, found = %s", x.c_str(), y.c_str());
}
else quitf(_ok, "The answer is correct.");
}
else
{
if(y == "Cannot")
{
quitf(_wa, "The answer is wrong: expected = %s, found = %s", x.c_str(), y.c_str());
}
else if(y != x)
{
while(!ans.eof())
{
x = ans.readToken();
y = ouf.readToken();
if(x != y)
{
quitf(_wa, "The answer is wrong: expected = %s, found = %s", x.c_str(), y.c_str());
}
}
quitp(0.5,"Partially Correct get %d percent", 50);
}
else
{
while(!ans.eof())
{
x = ans.readToken();
y = ouf.readToken();
if(x != y)
{
quitf(_wa, "The answer is wrong: expected = %s, found = %s", x.c_str(), y.c_str());
}
}
quitf(_ok, "The answer is correct.");
}
}
return 0;
}
```
by Ryzen_9_7950X @ 2023-12-08 21:38:36
@[览遍千秋](/user/28910)
@[Maxmilite](/user/274993)
@[10circle](/user/267596)
@[tzc_wk](/user/115194)
@ 离散小波变换°
@[_bzy](/user/213388)
~~话说你们真的管这个吗?~~
by Ryzen_9_7950X @ 2023-12-10 21:20:18
@[离散小波变换°](/user/68344)
@[小粉兔](/user/10703)
by Ryzen_9_7950X @ 2023-12-16 10:31:21
@[Ryzen_9_7950X](/user/1023961) It works. Added, thx.
by Maxmilite @ 2023-12-17 01:22:48
@[Maxmilite](/user/274993) 疑似没有添加 `SPJ` 标签?
by WhileTrueRP @ 2023-12-20 16:40:54
@[WhileTrueRP](/user/373198) 确实...
@[Ryzen_9_7950X](/user/1023961) 之前未添加 Special Judge 标签,添加后会出现 UKE 情况,原因是 spj 尝试读入不存在的 token。请检查 Special Judge 的正确性,感谢您的贡献。
by Maxmilite @ 2023-12-23 00:30:32
@[Maxmilite](/user/274993) 得嘞,我检查一下
by Ryzen_9_7950X @ 2023-12-23 09:07:47