We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用特判spj的时候,提交答案显示system error
The text was updated successfully, but these errors were encountered:
录题的时候用官方提供的spj代码,提交答案时全部system error
#include <bits/stdc++.h> #include "testlib.h" using namespace std; long long sum = 0; int main(int argc, char* argv[]) { registerTestlibCmd(argc, argv); int t = inf.readInt(); long long n, m; for(int cas=1;cas<=t;++cas) { //setTestCase(cas); n=inf.readLong(); m=ouf.readLong(-1ll,1'000'000'000'000'000'000,"m"); quitif(m==0,_wa,"m != 0"); if((n & (n - 1)) == 0) { if(m != -1) quitf(_wa,"wa 1"); } else { if(__gcd(n, m) != (n ^ m)) quitf(_wa,"wa 2"); } } quitf(_ok, "all ok!"); return 0; }
Sorry, something went wrong.
同样的问题,提交代码,不管是c++还是python都提示system error。有没有解决的?
No branches or pull requests
使用特判spj的时候,提交答案显示system error
The text was updated successfully, but these errors were encountered: