QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#730926 | #5938. Proper Shuffle | lnw143 | Compile Error | / | / | C++14 | 3.7kb | 2024-11-09 22:28:11 | 2024-11-09 22:28:11 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘auto varray(const T&, const int&, const Args& ...)’: answer.code:70:107: error: missing template arguments before ‘(’ token 70 | template<class T,class ...Args> auto varray(const T &x,const int &len,const Args &...args) { return vector(len+2,varray<ll>(x,args...)); } | ^ answer.code: In function ‘void _main()’: answer.code:117:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ll’ {aka ‘long long int’} [-Wformat=] 117 | printf("Case #%d: %s\n",t,diff(sum*2,(ll)n*n)<0.02?"GOOD":"BAD"); | ~^ ~ | | | | int ll {aka long long int} | %lld answer.code:111:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 111 | scanf("%d",&T); | ~~~~~^~~~~~~~~ answer.code:113:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 113 | scanf("%d",&n); | ~~~~~^~~~~~~~~ answer.code:114:32: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 114 | fo(i,1,n) scanf("%d",&p[i]); | ~~~~~^~~~~~~~~~~~