/ Vijos /

记录详情

Compile Error

foo.c:10:6: warning: return type of 'main' is not 'int' [-Wmain]
foo.c: In function 'main':
foo.c:21:2: error: 'for' loop initial declarations are only allowed in C99 mode
foo.c:21:2: note: use option -std=c99 or -std=gnu99 to compile your code
foo.c:25:11: error: redefinition of 'i'
foo.c:21:11: note: previous definition of 'i' was here
foo.c:25:2: error: 'for' loop initial declarations are only allowed in C99 mode
foo.c:32:6: error: redeclaration of 'i' with no linkage
foo.c:25:11: note: previous definition of 'i' was here
foo.c:32:10: warning: unused variable 'l' [-Wunused-variable]

信息

递交者
类型
递交
题目
P1291 苹果摘陶陶
语言
C
递交时间
2013-10-20 00:50:18
评测时间
2013-10-20 00:50:19
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes