Accepted
foo.cc: In function ‘int ans(int, int, int)’:
foo.cc:12:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
12 | for(int i=0;i<m-1;i++)
| ^~~
foo.cc:14:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
14 | return ans+d;
| ^~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1029 A1-4 循环结构练习:今年过去了多少天
- 比赛
- 2026.5.1中级班练习
- 语言
- C++
- 递交时间
- 2026-05-01 14:49:00
- 评测时间
- 2026-05-01 14:49:00
- 评测机
- 分数
- 100
- 总耗时
- 14ms
- 峰值内存
- 512.0 KiB