QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#87018 | #3002. Busy Board | youwike | Compile Error | / | / | C++14 | 1.2kb | 2023-03-11 16:15:45 | 2023-03-11 16:15:48 |
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:36:13: error: redeclaration of ‘int flag’ 36 | int flag = 0; | ^~~~ answer.code:15:13: note: ‘int flag’ previously declared here 15 | int flag = 1; | ^~~~ answer.code:11:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 11 | scanf("%d%d", &n, &m); | ~~~~~^~~~~~~~~~~~~~~~ answer.code:13:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 13 | scanf("%s", a[i] + 1); | ~~~~~^~~~~~~~~~~~~~~~ answer.code:17:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 17 | scanf("%s", b[i] + 1); | ~~~~~^~~~~~~~~~~~~~~~