Compile Error
/in/foo.c: In function 'monthf': /in/foo.c:69:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token int months1[]-{2,4,6,9,11,11,11}; ^ /in/foo.c:69:16: error: expected expression before '{' token int months1[]-{2,4,6,9,11,11,11}; ^ /in/foo.c:84:15: error: 'months1' undeclared (first use in this function) if(month==months1[i]) ^~~~~~~ /in/foo.c:84:15: note: each undeclared identifier is reported only once for each function it appears in
信息
- 递交者
- 类型
- 递交
- 题目
- P1001 判断月份
- 语言
- C
- 递交时间
- 2024-06-17 18:10:14
- 评测时间
- 2024-06-17 18:10:14
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes