QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#785551 | #3876. Attack on Alpha-Zet | ucup-team4645 | Compile Error | / | / | C++23 | 2.2kb | 2024-11-26 18:14:01 | 2024-11-26 18:14:02 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
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); | ~~~~~^~~~~~~~~~~~~~~~~