Accepted
foo.cc: In function 'int IsLeapYear(int)': foo.cc:53:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(year%400==0 || year%4==0 && year%100!=0) ~~~~~~~~~~^~~~~~~~~~~~~~ foo.cc: In function 'int main()': foo.cc:98:11: warning: unused variable 'month' [-Wunused-variable] int year,month,d; ^~~~~ foo.cc:98:17: warning: unused variable 'd' [-Wunused-variable] int year,month,d; ^
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1103 打印年历
- 语言
- C++
- 递交时间
- 2021-08-10 16:19:13
- 评测时间
- 2021-08-10 16:19:13
- 评测机
- 分数
- 100
- 总耗时
- 4ms
- 峰值内存
- 408.0 KiB