Compile Error
foo.cc: In function 'int month(int, int)': foo.cc:10:19: error: 'year' was not declared in this scope 10 | if (m == 2 && year(y)) | ^~~~ foo.cc: In function 'int main()': foo.cc:57:18: error: 'm2' was not declared in this scope; did you mean 'd2'? 57 | cin >> y2 >> m2 >> d2; | ^~ | d2 foo.cc:55:13: warning: unused variable 'mo2' [-Wunused-variable] 55 | int y2, mo2, d2; | ^~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- 5-6 过去了多少天
- 语言
- C++
- 递交时间
- 2023-11-15 23:26:02
- 评测时间
- 2023-11-15 23:26:02
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes