奇特。。。

回复帖子

@阿廖 2018-10-11 23:27 回复

为啥我个人题目一开spj就卡waiting……

uid:20564

spj代码

#include"testlib.h"
#include<bits/stdc++.h>
using namespace std;
int main(int argc, char* argv[])
{
    registerTestlibCmd(argc, argv);
    long long user_ans=ouf.readLong();
    long long std_ans=ans.readLong();

    if (user_ans>=(double)std_ans*0.9999)
        quitf(_ok,"The answer is correct.");
    else
        quitf(_wa,"The answer is wrong: expected = %lld, found = %lld",std_ans,user_ans);
    return 0;
}
@阿廖 2018-10-11 23:32 回复

或者请管理员大大给个小小的帮助