Wrong Answer
foo.cc: In function 'int main()': foo.cc:13:6: warning: operation on 'sum' may be undefined [-Wsequence-point] sum=sum=MonthDay(year,m); ~~~^~~~~~~~~~~~~~~~~~~~~ foo.cc: In function 'int MonthDay(int, int)': foo.cc:33:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ foo.cc:36:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' return day; ^~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- A1-4 分支结构练习:今年过去了多少天
- 比赛
- 2020苏青奥赛集训营(2021-1-31课堂小练)
- 语言
- C++
- 递交时间
- 2021-01-31 12:06:00
- 评测时间
- 2021-01-31 12:06:00
- 评测机
- 分数
- 20
- 总耗时
- 11ms
- 峰值内存
- 400.0 KiB