Compile Error
/in/foo.cc: In function 'void GetDayPerMo(int, int)': /in/foo.cc:12:26: error: return-statement with a value, in function returning 'void' [-fpermissive] if (mo != 2)return Mo[mo]; ^ /in/foo.cc:13:23: error: return-statement with a value, in function returning 'void' [-fpermissive] return Mo[2] + Spc(yr); ^ /in/foo.cc: In function 'int nextDay(int)': /in/foo.cc:21:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if (dy > GetDayPerMo) ^~~~~~~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P2010 回文日期
- 语言
- C++
- 递交时间
- 2018-07-21 14:40:29
- 评测时间
- 2018-07-21 14:40:29
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes