Compile Error
foo.cc: In member function 'void Date::add(int)': foo.cc:35:3: error: 'mont2h' was not declared in this scope mont2h=day/a[month-1]+month; ^~~~~~ foo.cc:35:3: note: suggested alternative: 'month' mont2h=day/a[month-1]+month; ^~~~~~ month
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
信息
- 递交者
- 类型
- 自测
- 题目
- P1003 OO1-3 日期类Date
- 语言
- C++
- 递交时间
- 2021-03-17 16:23:34
- 评测时间
- 2021-03-17 16:23:34
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes