Accepted
foo.cc: In function 'int main()': foo.cc:7:11: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(a%4==0&&a%100!=0||a%400==0) ~~~~~~^~~~~~~~~~ foo.cc:9:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ foo.cc:11:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' return 0; ^~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P2346 1.4.17:判断闰年
- 语言
- C++
- 递交时间
- 2021-11-29 11:34:12
- 评测时间
- 2021-11-29 11:34:12
- 评测机
- 分数
- 100
- 总耗时
- 8ms
- 峰值内存
- 432.0 KiB