Accepted
/in/foo.cc: In function 'int main()': /in/foo.cc:91:13: warning: 'total2' may be used uninitialized [-Wmaybe-uninitialized] 91 | days=total2-total1; | ~~~~^~~~~~~~~~~~~~ /in/foo.cc:9:25: note: 'total2' was declared here 9 | int month2,day2,total2; | ^~~~~~ /in/foo.cc:91:13: warning: 'total1' may be used uninitialized [-Wmaybe-uninitialized] 91 | days=total2-total1; | ~~~~^~~~~~~~~~~~~~ /in/foo.cc:7:25: note: 'total1' was declared here 7 | int month1,day1,total1; | ^~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1083 xf1-6计算日期
- 比赛
- 2025程序设计与竞赛作业赛第一场(整装出发)
- 语言
- C++
- 递交时间
- 2025-09-27 20:30:50
- 评测时间
- 2025-10-03 02:16:38
- 评测机
- 分数
- 100
- 总耗时
- 17ms
- 峰值内存
- 532.0 KiB