QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
詳細信息
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); | ~~~~~^~~~~~~~~~