Wrong Answer
foo.cc: In function 'int main()': foo.cc:45:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | if (y%4==0 && y%100!=0 || y%400==0) | ~~~~~~~^~~~~~~~~~~ foo.cc:48:15: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] 48 | printf("%d",s); | ~~~~~~^~~~~~~~ foo.cc:4:19: note: 's' was declared here 4 | int y,m,d,s; | ^
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1025 计算某日期的天数***
- 语言
- C++
- 递交时间
- 2023-12-15 16:25:14
- 评测时间
- 2023-12-15 16:25:14
- 评测机
- 分数
- 60
- 总耗时
- 21ms
- 峰值内存
- 412.0 KiB