Wrong Answer
foo.cc: In function 'int main()': foo.cc:21:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i=1;i<=n;i++) ^~~ foo.cc:26:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' cout<<ans<<endl; ^~~~ foo.cc:26:9: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized] cout<<ans<<endl; ^~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
信息
- 递交者
- 类型
- 递交
- 题目
- 「一本通 1.1 例 1」活动安排
- 语言
- C++
- 递交时间
- 2021-06-30 00:05:40
- 评测时间
- 2021-06-30 00:05:40
- 评测机
- 分数
- 0
- 总耗时
- 28ms
- 峰值内存
- 384.0 KiB