| 编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| #1858 | #993. 汉诺塔问题 | Compile Error | 0 | 0 ms | 0 K | C++ 17 / 758 B | t330026143 | 2023-10-15 16:57:46 |
char a;
int seq;
long long ans;
int 编译信息
/sandbox/1/a.cpp: In function 'int main()':
/sandbox/1/a.cpp:35:19: error: 'cnt1' was not declared in this scope
35 | int k=(ans[2]-b)/cnt1;
| ^~~~
/sandbox/1/a.cpp:7:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
7 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
/sandbox/1/a.cpp:9:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | scanf("%s",a);
| ~~~~~^~~~~~~~