Wrong Answer
foo.cc: In function 'int isLeapYear(int)': foo.cc:5:11: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 5 | if(y%4==0&&y%100!=0||y%400==0) | ~~~~~~^~~~~~~~~~ foo.cc: In function 'int main()': foo.cc:29:15: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized] 29 | cout<<" "<<a+r; | ^
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1073 闰年、年天数、月天数-函数
- 语言
- C++
- 递交时间
- 2022-07-13 16:41:21
- 评测时间
- 2022-07-13 16:41:21
- 评测机
- 分数
- 0
- 总耗时
- 6ms
- 峰值内存
- 384.0 KiB