/ Vijos /

记录详情

Compile Error

foo.c: In function 'work':
foo.c:8:25: error: incompatible types when assigning to type 'char[5000]' from type 'int'
foo.c:9:27: error: incompatible types when assigning to type 'char[5000]' from type 'int'
foo.c:10:24: error: incompatible types when assigning to type 'char[5000]' from type 'int'
foo.c:15:1: warning: passing argument 2 of 'work' makes integer from pointer without a cast [enabled by default]
foo.c:4:6: note: expected 'int' but argument is of type 'int *'
foo.c:16:1: warning: passing argument 1 of 'work' makes integer from pointer without a cast [enabled by default]
foo.c:4:6: note: expected 'int' but argument is of type 'int *'
foo.c:17:1: warning: passing argument 1 of 'work' makes integer from pointer without a cast [enabled by default]
foo.c:4:6: note: expected 'int' but argument is of type 'int *'
foo.c:17:1: warning: passing argument 2 of 'work' makes integer from pointer without a cast [enabled by default]
foo.c:4:6: note: expected 'int' but argument is of type 'int *'
foo.c: At top level:
foo.c:20:1: warning: return type defaults to 'int' [-Wreturn-type]
foo.c: In function 'main':
foo.c:34:1: warning: control reaches end of non-void function [-Wreturn-type]

信息

递交者
类型
递交
题目
P1167 南蛮图腾
语言
C
递交时间
2013-12-27 18:31:51
评测时间
2013-12-27 18:31:51
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes