Compile Error
foo.cc: In function 'int main()': foo.cc:14:17: warning: unused variable 'd' [-Wunused-variable] int year,month,d; ^ foo.cc: In function 'void PrintMonth(int, int)': foo.cc:25:26: error: 'm' was not declared in this scope m_days=DaysOfMonth(year,m); ^ foo.cc: In function 'int WeekdayOfTheFirsDay(int, int)': foo.cc:44:6: warning: value computed is not used [-Wunused-value] sum+DaysOfYear(y); ~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1094 打印月历
- 语言
- C++
- 递交时间
- 2021-08-08 19:38:46
- 评测时间
- 2021-08-08 19:38:46
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes