Compile Error
/in/foo.cc: In member function 'int Date::difference(Date&)': /in/foo.cc:40:17: error: 'num' was not declared in this scope; did you mean 'enum'? 40 | num+=d.YearDay(year)-d.pass(d.year,d.month,d.day); | ^~~ | enum
信息
- 递交者
- 类型
- 自测
- 题目
- P1005 OO1-4 日期类Date
- 语言
- C++
- 递交时间
- 2025-03-14 21:18:46
- 评测时间
- 2025-03-14 21:18:46
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes