/ Vijos /

记录详情

Compile Error

foo.c: In function 'dui':
foo.c:14:13: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
foo.c:23:13: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
foo.c: In function 'pai':
foo.c:39:13: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
foo.c:48:13: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
foo.c: In function 'main':
foo.c:59:4: error: 'for' loop initial declarations are only allowed in C99 mode
foo.c:59:4: note: use option -std=c99 or -std=gnu99 to compile your code
foo.c:73:5: error: 'for' loop initial declarations are only allowed in C99 mode
foo.c: In function 'pai':
foo.c:54:1: warning: control reaches end of non-void function [-Wreturn-type]
foo.c: In function 'dui':
foo.c:29:1: warning: control reaches end of non-void function [-Wreturn-type]

信息

递交者
类型
递交
题目
P1897 学姐吃牛排
比赛
NOIP模拟赛 之 周五的夜晚
语言
C
递交时间
2014-10-31 19:32:57
评测时间
2014-11-01 11:50:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes