QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#787615 | #9623. 合成大西瓜 | MaMengQi | Compile Error | / | / | C++17 | 538b | 2024-11-27 13:32:11 | 2024-11-27 13:32:11 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:17:24: error: ‘x’ was not declared in this scope 17 | scanf("%d %d",&x,&y); | ^ answer.code:17:27: error: ‘y’ was not declared in this scope 17 | scanf("%d %d",&x,&y); | ^ answer.code:17:28: error: expression list treated as compound expression in initializer [-fpermissive] 17 | scanf("%d %d",&x,&y); | ^ answer.code:11:10: 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:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 13 | scanf("%d",a+i); | ~~~~~^~~~~~~~~~