Wrong Answer
foo.cc: In function 'bool isleap(int)': foo.cc:6:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 6 | if(n%4==0&&n%100!=0||n%400==0) return true; | ~~~~~~^~~~~~~~~~ foo.cc: In function 'int main()': foo.cc:13:16: warning: 's' is used uninitialized [-Wuninitialized] 13 | d1-=d;s+=d1; | ~^~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1004 OO1-4 日期类Date
- 语言
- C++
- 递交时间
- 2023-06-28 13:04:58
- 评测时间
- 2023-06-28 13:04:58
- 评测机
- 分数
- 20
- 总耗时
- 21ms
- 峰值内存
- 412.0 KiB