Accepted
/in/foo.cc: In function 'int main()':
/in/foo.cc:18:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
18 | else
| ^~~~
/in/foo.cc:20:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
20 | if(month==1)
| ^~
/in/foo.cc:5:29: warning: unused variable 'day' [-Wunused-variable]
5 | int year,month,leap,day,d;
| ^~~
信息
- 递交者
- 类型
- 递交
- 题目
- A1-3 分支结构练习:月份天数
- 比赛
- 2025程序设计与竞赛作业赛第一场(整装出发)
- 语言
- C++
- 递交时间
- 2025-09-27 18:37:29
- 评测时间
- 2025-10-03 01:46:19
- 评测机
- 分数
- 100
- 总耗时
- 13ms
- 峰值内存
- 520.0 KiB