QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#749000 | #7900. Gifts from Knowledge | ucup-team057 | Compile Error | / | / | C++17 | 328b | 2024-11-14 22:19:41 | 2024-11-14 22:19:41 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘int main()’: answer.code:8:16: error: ‘r’ was not declared in this scope 8 | scanf("%d%d", &r, &c); | ^ answer.code:8:20: error: ‘c’ was not declared in this scope; did you mean ‘tc’? 8 | scanf("%d%d", &r, &c); | ^ | tc answer.code:5:13: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5 | int t; scanf("%d", &t); | ~~~~~^~~~~~~~~~ answer.code:12:6: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 12 | scanf("%s", s+1); | ~~~~~^~~~~~~~~~~