QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#711479 | #7858. Basic Equation Solving | xyj | Compile Error | / | / | C++20 | 1.4kb | 2024-11-05 11:20:52 | 2024-11-05 11:20:52 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void dfs(int)’: answer.code:21:12: error: ‘n’ was not declared in this scope 21 | if (x==n+1) | ^ answer.code:23:18: error: ‘calc’ was not declared in this scope 23 | ans=(ans+calc()); | ^~~~ answer.code: In function ‘void mian()’: answer.code:31:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 31 | scanf("%d",&n); | ~~~~~^~~~~~~~~ answer.code:34:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 34 | scanf("%s",s+1); | ~~~~~^~~~~~~~~~