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)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1075 打印月历
- 语言
- C++
- 递交时间
- 2022-07-14 13:05:38
- 评测时间
- 2022-07-14 13:05:38
- 评测机
- 分数
- 0
- 总耗时
- 4ms
- 峰值内存
- 384.0 KiB