Compile Error
foo.cc: In function 'int main()': foo.cc:10:5: error: expected primary-expression before '}' token 10 | } | ^ foo.cc:14:5: error: 'else' without a previous 'if' 14 | else | ^~~~ foo.cc:18:5: error: 'else' without a previous 'if' 18 | else if(month==1||month==3||month==5||month==7||month==8||month==10||month==12) | ^~~~ foo.cc:26:11: error: 'day' was not declared in this scope; did you mean 'days'? 26 | cout<<day; | ^~~ | days
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1023 某月的天数
- 语言
- C++
- 递交时间
- 2022-01-25 14:10:11
- 评测时间
- 2022-01-25 14:10:11
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes