QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
详细
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); | ~~~~~^~~~~~~~~~