Wrong Answer
foo.cc: In function ‘bool isrn(int)’: foo.cc:8:1: warning: control reaches end of non-void function [-Wreturn-type] 8 | } | ^ foo.cc: In function ‘int main()’: foo.cc:43:11: warning: ‘ans’ may be used uninitialized [-Wmaybe-uninitialized] 43 | cout<<ans; | ^~~ foo.cc:11:24: note: ‘ans’ was declared here 11 | int year,month,day,ans; | ^~~
信息
- 递交者
- 类型
- 递交
- 题目
- A1-4 分支结构练习:今年过去了多少天
- 比赛
- 2024程序设计与竞赛作业赛第一场(喜相逢)
- 语言
- C++
- 递交时间
- 2024-09-29 20:13:06
- 评测时间
- 2024-09-29 20:13:06
- 评测机
- 分数
- 40
- 总耗时
- 37ms
- 峰值内存
- 1.23 MiB