Wrong Answer
foo.cc: In function 'int day(int)': foo.cc:18:9: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized] return ans; ^~~ foo.cc: In function 'int main()': foo.cc:29:6: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized] ans+=day(i); ~~~^~~~~~~~ foo.cc:26:19: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized] int ans=(day(d1m)-d1d)+d2d; ~~~~~~~~~^~~~~
正在同步测试数据,请稍后 [Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1055 xf1-6计算日期
- 语言
- C++
- 递交时间
- 2021-08-04 16:43:54
- 评测时间
- 2021-08-04 16:43:54
- 评测机
- 分数
- 0
- 总耗时
- 9ms
- 峰值内存
- 384.0 KiB