/ Vijos /

记录详情

Compile Error

foo.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
foo.c:9:1: error: unknown type name 'bool'
foo.c:9:6: error: variably modified 'zt' at file scope
foo.c:10:1: error: unknown type name 'qtype'
foo.c: In function 'makeit':
foo.c:18:24: error: unknown type name 'bool'
foo.c:18:32: error: 'false' undeclared (first use in this function)
foo.c:18:32: note: each undeclared identifier is reported only once for each function it appears in
foo.c:18:45: error: request for member 'z' in something not a structure or union
foo.c:18:1: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration]
foo.c:18:49: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default]
foo.c:18:70: error: request for member 'v' in something not a structure or union
foo.c:18:127: error: 'true' undeclared (first use in this function)
foo.c:19:5: warning: 'main' is normally a non-static function [-Wmain]
foo.c: In function 'main':
foo.c:21:1: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
foo.c:21:10: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
foo.c:21:1: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
foo.c:21:39: warning: incompatible implicit declaration of built-in function 'scanf' [enabled by default]
foo.c:21:68: error: request for member 'v' in something not a structure or union
foo.c:21:77: error: request for member 't' in something not a structure or union
foo.c:21:86: error: request for member 'z' in something not a structure or union
foo.c:21:126: error: 'for' loop initial declarations are only allowed in C99 mode
foo.c:21:126: note: use option -std=c99 or -std=gnu99 to compile your code
foo.c:21:1: error: expected declaration or statement at end of input
foo.c:21:1: error: expected declaration or statement at end of input
foo.c:21:1: error: expected declaration or statement at end of input
foo.c:21:7: warning: variable 't' set but not used [-Wunused-but-set-variable]
foo.c: In function 'makeit':
foo.c:21:1: error: expected declaration or statement at end of input
foo.c:18:29: warning: variable 'tf' set but not used [-Wunused-but-set-variable]
foo.c:18:12: warning: unused variable 'c' [-Wunused-variable]
foo.c:21:1: warning: control reaches end of non-void function [-Wreturn-type]

信息

递交者
类型
递交
题目
P1360 八数码问题
语言
C
递交时间
2014-10-31 21:13:28
评测时间
2014-10-31 21:13:29
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes