Wrong Answer
foo.cc: In function 'int main()': foo.cc:13:7: warning: statement has no effect [-Wunused-value] days==31+day; ~~~~^~~~~~~~ foo.cc:57:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(year%400==0||year%4==0&&year%100!=0) ~~~~~~~~~^~~~~~~~~~~~~ foo.cc:62:6: warning: 'days' may be used uninitialized in this function [-Wmaybe-uninitialized] cout<<days; ~~~~^~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1025 计算某日期的天数***
- 语言
- C++
- 递交时间
- 2021-11-27 14:30:44
- 评测时间
- 2021-11-27 14:30:44
- 评测机
- 分数
- 40
- 总耗时
- 7ms
- 峰值内存
- 384.0 KiB