QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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); | ~~~~~^~~~~~~~~