/ Vijos /

记录详情

Compile Error

foo.c:2:1: error: unknown type name 'using'
 using namespace std;
 ^~~~~
foo.c:2:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
 using namespace std;
                 ^~~
foo.c:5:5: error: variably modified 'map' at file scope
 int map[E][E], a[E];
     ^~~
foo.c:5:5: error: variably modified 'map' at file scope
foo.c:5:16: error: variably modified 'a' at file scope
 int map[E][E], a[E];
                ^
foo.c:6:17: error: initializer element is not constant
 int n, m, ans = INF;
                 ^~~
foo.c: In function 'min':
foo.c:12:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
 {
 ^
foo.c:30:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
 {
 ^
foo.c:37:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
 {
 ^
foo.c:45:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
 {
 ^
foo.c:52:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
 {
 ^
foo.c:54:1: error: expected '{' at end of input
 }
 ^
foo.c:54:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

信息

递交者
类型
递交
题目
P1423 最佳路线
语言
C
递交时间
2021-01-18 00:06:12
评测时间
2021-01-18 00:06:12
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes