/ new_bzoj /

记录详情

Compile Error

/in/foo.cc: In function 'void dijkstra(int, int)':
/in/foo.cc:32:9: error: no match for 'operator[]' (operand types are 'bool [100100][2]' and 'node')
      vis[now][f]=1;
         ^
/in/foo.cc:36:43: error: incompatible types in assignment of 'int*' to 'int [2]'
       dis[to[i][f]]=dis[now.poi]+cost[i][f];
                                           ^
/in/foo.cc:37:61: error: invalid conversion from 'int*' to 'int' [-fpermissive]
       if(!vis[to[i][f]]) dl.push(node{to[i][f],dis[to[i][f]]});
                                                             ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:64:30: error: 's' was not declared in this scope
  while(scanf("%d%d%d",&n,&m,&s)!=EOF) printf("%d\n",work());
                              ^

信息

递交者
类型
自测
题目
轮状病毒
语言
C++
递交时间
2019-07-30 19:20:31
评测时间
2019-07-30 19:20:31
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes