/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:20:16: error: expected ')' before ']' token
         f[(1<<i][i+1]=0;
                ^
/in/foo.cc:20:24: error: expected ']' before ';' token
         f[(1<<i][i+1]=0;
                        ^
/in/foo.cc:20:24: warning: statement has no effect [-Wunused-value]
         f[(1<<i][i+1]=0;
         ~~~~~~~~~~~~~~~^
/in/foo.cc:19:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int i=0;i<n;i++)
     ^~~
/in/foo.cc:21:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(int i=1;i<(1<<n);i++)
  ^~~

信息

递交者
类型
递交
题目
P1456 最小总代价
语言
C++
递交时间
2018-05-17 13:39:57
评测时间
2018-05-17 13:39:57
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes