Wrong Answer
foo.cc: In function 'int passDays(int, int, int)': foo.cc:36:9: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized] 36 | return sum; | ^~~ foo.cc: In function 'int weekdayOfTheFirstDay(int, int)': foo.cc:51:35: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized] 51 | days += passDays(year, month, 1) - 1 ;//减掉1800年的1号 | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1076 打印年历
- 语言
- C++
- 递交时间
- 2022-07-14 13:14:28
- 评测时间
- 2022-07-14 13:14:28
- 评测机
- 分数
- 0
- 总耗时
- 3ms
- 峰值内存
- 384.0 KiB