QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#785567 | #3876. Attack on Alpha-Zet | ucup-team4645 | Compile Error | / | / | C++20 | 2.2kb | 2024-11-26 18:17:10 | 2024-11-26 18:17:11 |
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:51:42: error: ‘gets’ was not declared in this scope; did you mean ‘getw’? 51 | for (int i = 1; i <= h + 1; i++) gets(a[i] + 1); | ^~~~ | getw answer.code:50:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 50 | scanf("%d %d\n", &h, &w); | ~~~~~^~~~~~~~~~~~~~~~~~~ answer.code:64:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 64 | scanf("%d", &q); | ~~~~~^~~~~~~~~~ answer.code:67:18: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 67 | scanf("%d %d", &x, &y); | ~~~~~^~~~~~~~~~~~~~~~~