Wrong Answer
foo.cc: In function 'int main()': foo.cc:49:19: warning: 'year2' may be used uninitialized in this function [-Wmaybe-uninitialized] sum=sum+MonthDay(year,m); ~~~~~~~~^~~~~~~~ foo.cc:11:6: note: 'year2' was declared here int year2,month2,day2; ^~~~~ foo.cc:49:19: warning: 'year1' may be used uninitialized in this function [-Wmaybe-uninitialized] sum=sum+MonthDay(year,m); ~~~~~~~~^~~~~~~~ foo.cc:10:6: note: 'year1' was declared here int year1,month1,day1; ^~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1083 xf1-6计算日期
- 比赛
- 2020苏青奥赛集训营(2021-2-2课堂小练)
- 语言
- C++
- 递交时间
- 2021-02-02 12:33:44
- 评测时间
- 2021-02-02 12:33:44
- 评测机
- 分数
- 20
- 总耗时
- 10ms
- 峰值内存
- 384.0 KiB