Compile Error
foo.c: In function 'main': foo.c:13:5: error: 'for' loop initial declarations are only allowed in C99 mode for(int i=0;i<n;i++) ^ foo.c:13:5: note: use option -std=c99 or -std=gnu99 to compile your code foo.c: In function 'D': foo.c:64:5: error: 'for' loop initial declarations are only allowed in C99 mode for(int i=0;i<30;i++) ^ foo.c: In function 'main': foo.c:33:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1001 谁拿了最多奖学金
- 语言
- C
- 递交时间
- 2016-06-05 15:14:20
- 评测时间
- 2016-06-05 15:14:20
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes