QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#19421 | #2279. Wells | qwq | Compile Error | / | / | C++20 | 5.1kb | 2022-01-31 00:11:21 | 2022-05-18 04:06:44 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code:148:6: error: expected unqualified-id before ‘try’ 148 | void try(int r) { | ^~~ answer.code: In function ‘int main()’: answer.code:234:28: error: expected ‘{’ before ‘(’ token 234 | try(r); | ^ answer.code:234:28: error: expected ‘catch’ before ‘(’ token answer.code:234:29: error: ‘r’ does not name a type 234 | try(r); | ^ answer.code:234:31: error: expected ‘{’ before ‘;’ token 234 | try(r); | ^ answer.code:235:9: error: ‘else’ without a previous ‘if’ 235 | else { | ^~~~ answer.code:184:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 184 | scanf("%d%d", &n, &k); | ~~~~~^~~~~~~~~~~~~~~~ answer.code:191:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 191 | scanf("%d%d", &i, &j), i--, j--; | ~~~~~^~~~~~~~~~~~~~~~