QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#637842 | #7034. Honeycomb | ZhaoZiLong | Compile Error | / | / | C++20 | 3.4kb | 2024-10-13 14:13:08 | 2024-10-13 14:13:08 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘void Main()’: answer.code:17:26: error: ‘gets’ was not declared in this scope; did you mean ‘getw’? 17 | scanf("%d%d",&r,&c); gets(g[0]); | ^~~~ | getw answer.code:17:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 17 | scanf("%d%d",&r,&c); gets(g[0]); | ~~~~~^~~~~~~~~~~~~~ answer.code: In function ‘int main()’: answer.code:112:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 112 | scanf("%d",&t); | ~~~~~^~~~~~~~~