Wrong Answer
foo.cc: In function 'int passDays(int, int, int)': foo.cc:35:9: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized] 35 | return sum; | ^~~ foo.cc: In function 'int WeekdayOfTheFirstDay(int, int)': foo.cc:50:7: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized] 50 | days += passDays(year, month, 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1074 计算星期几
- 语言
- C++
- 递交时间
- 2022-07-14 12:58:36
- 评测时间
- 2022-07-14 12:58:36
- 评测机
- 分数
- 0
- 总耗时
- 4ms
- 峰值内存
- 384.0 KiB