/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:17: error: 'n' was not declared in this scope
  for(int i=2;i<=n;i++) d[i]=a[s][i];
                 ^
/in/foo.cc:15:17: error: 'n' was not declared in this scope
  for(int i=1;i<=n;i++){
                 ^
/in/foo.cc:21:62: error: 'min' was not declared in this scope
   for(int j=1;j<=n;j++)if(!v[j]) if(d[j]<min(d[num],a[num][j])) d[j]=min(d[num],a[num][j]);
                                                              ^
/in/foo.cc:23:17: error: 'n' was not declared in this scope
  for(int i=2;i<=n;i++) printf("%d\n",d[i]);
                 ^

信息

递交者
类型
递交
题目
P1391 想越狱的小杉
语言
C++
递交时间
2017-11-08 19:44:58
评测时间
2017-11-08 19:44:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes