Wrong Answer
/in/foo.cc: In function 'int main()': /in/foo.cc:13:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(year%4==0 && year%100!=0 || year%400==0) ~~~~~~~~~~^~~~~~~~~~~~~~ /in/foo.cc:16:15: warning: 'days' may be used uninitialized in this function [-Wmaybe-uninitialized] cout<<days; ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1023 某月的天数
- 语言
- C++
- 递交时间
- 2024-02-12 12:40:53
- 评测时间
- 2024-02-12 12:40:53
- 评测机
- 分数
- 40
- 总耗时
- 7ms
- 峰值内存
- 376.0 KiB