Accepted
foo.cc: In function 'int isLeapYear(int)': foo.cc:7:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 7 | return year % 4 == 0 && year % 100 != 0 || year % 400 == 0; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ foo.cc: In function 'int main()': foo.cc:49:19: warning: unused variable 'j' [-Wunused-variable] 49 | int year, month, j = 0; | ^
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1076 打印年历
- 语言
- C++
- 递交时间
- 2022-07-15 21:11:06
- 评测时间
- 2022-07-15 21:11:06
- 评测机
- 分数
- 100
- 总耗时
- 8ms
- 峰值内存
- 384.0 KiB