QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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); | ~~~~~^~~~~~~~~~~