Wrong Answer
foo.cc: In function 'int main()': foo.cc:11:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] case 2:day=(year%4==0||year%400==0&&year%100!=0?29:28);break; ~~~~~~~~~~~^~~~~~~~~~~~~ foo.cc:13:11: warning: 'day' may be used uninitialized in this function [-Wmaybe-uninitialized] cout<<day<<endl; ^~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
信息
- 递交者
- 类型
- 递交
- 题目
- P1004 成绩表
- 语言
- C++
- 递交时间
- 2021-04-14 16:44:17
- 评测时间
- 2021-04-14 16:44:17
- 评测机
- 分数
- 80
- 总耗时
- 9ms
- 峰值内存
- 384.0 KiB