QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#163018 | #7109. Traveling on the Axis | ucup-team1306 | Compile Error | / | / | C++14 | 890b | 2023-09-03 18:55:08 | 2023-09-03 18:55:09 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void solve()’: answer.code:31:63: error: expected ‘)’ before ‘;’ token 31 | ans+=(n-r+l-1)*( (cnt-1)*cnt/2; ); | ~ ^ | ) answer.code:31:65: error: expected primary-expression before ‘)’ token 31 | ans+=(n-r+l-1)*( (cnt-1)*cnt/2; ); | ^ answer.code:10:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 10 | scanf("%s",s+1); | ~~~~~^~~~~~~~~~