QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#510913 | #5199. Amazing Trick | ZhaoZiLong | Compile Error | / | / | C++20 | 1.5kb | 2024-08-09 14:02:17 | 2024-08-09 14:02:18 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void slove1()’: answer.code:64:29: error: expected primary-expression before ‘return’ 64 | if(check()) write(),return 0; | ^~~~~~ answer.code: In function ‘void slove()’: answer.code:69:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 69 | scanf("%d", &n); | ~~~~~^~~~~~~~~~ answer.code:70:39: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 70 | for (int i = 1; i <= n; i++) scanf("%d", &a[i]); | ~~~~~^~~~~~~~~~~~~ answer.code: In function ‘int main()’: answer.code:80:17: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 80 | int t; scanf("%d", &t); | ~~~~~^~~~~~~~~~