/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'void work(int, int, int)':
foo.cpp:8:26: error: incompatible types in assignment of 'char' to 'char [5000]'
foo.cpp:9:28: error: incompatible types in assignment of 'char' to 'char [5000]'
foo.cpp:10:25: error: incompatible types in assignment of 'char' to 'char [5000]'
foo.cpp:15:18: error: invalid conversion from 'int*' to 'int' [-fpermissive]
foo.cpp:4:6: error:   initializing argument 2 of 'void work(int, int, int)' [-fpermissive]
foo.cpp:16:18: error: invalid conversion from 'int*' to 'int' [-fpermissive]
foo.cpp:4:6: error:   initializing argument 1 of 'void work(int, int, int)' [-fpermissive]
foo.cpp:17:20: error: invalid conversion from 'int*' to 'int' [-fpermissive]
foo.cpp:4:6: error:   initializing argument 1 of 'void work(int, int, int)' [-fpermissive]
foo.cpp:17:20: error: invalid conversion from 'int*' to 'int' [-fpermissive]
foo.cpp:4:6: error:   initializing argument 2 of 'void work(int, int, int)' [-fpermissive]
foo.cpp: At global scope:
foo.cpp:20:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]

信息

递交者
类型
递交
题目
P1167 南蛮图腾
语言
C++
递交时间
2013-11-09 10:43:48
评测时间
2013-11-09 10:43:49
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes