Accepted
/in/foo.cc: In function 'int godays(int, int, int)': /in/foo.cc:37:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int m=1;m<month;m++) ^~~ /in/foo.cc:39:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' return sum; ^~~~~~ /in/foo.cc: In function 'int isleap(int)': /in/foo.cc:22:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
信息
- 递交者
- 类型
- 递交
- 题目
- A1-4 分支结构练习:今年过去了多少天
- 比赛
- 2020苏青奥赛集训营(2021-1-31课堂小练)
- 语言
- C++
- 递交时间
- 2021-01-31 19:25:05
- 评测时间
- 2021-01-31 19:25:05
- 评测机
- 分数
- 100
- 总耗时
- 7ms
- 峰值内存
- 232.0 KiB