Compile Error
foo.cc: In function 'int main()':
foo.cc:15:11: error: expected initializer before '==' token
15 | int n,ans==0;
| ^~
foo.cc:19:4: error: 'ans' was not declared in this scope; did you mean 'abs'?
19 | ans++;
| ^~~
| abs
foo.cc:20:8: error: 'ans' was not declared in this scope; did you mean 'abs'?
20 | cout<<ans;
| ^~~
| abs
foo.cc: In function 'int Alan(int)':
foo.cc:12:1: warning: control reaches end of non-void function [-Wreturn-type]
12 | }
| ^
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1781 哥德巴赫猜想(gede)
- 语言
- C++
- 递交时间
- 2022-03-13 16:38:00
- 评测时间
- 2022-03-13 16:38:00
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes