Accepted
foo.cc: In function 'int isLeapYear(int)': foo.cc:30:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 30 | return year%4==0&&year%100!=0||year%400==0; | ~~~~~~~~~^~~~~~~~~~~~~ foo.cc: At global scope: foo.cc:46:4: warning: unnecessary parentheses in declaration of 'passDays' [-Wparentheses] 46 | int(passDays(int year,int month,int day)) | ^
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1076 打印年历
- 语言
- C++
- 递交时间
- 2022-07-14 07:02:15
- 评测时间
- 2022-07-14 07:02:15
- 评测机
- 分数
- 100
- 总耗时
- 4ms
- 峰值内存
- 384.0 KiB