0_0_37426008_26702.cpp: In function 'int main()':
0_0_37426008_26702.cpp:28:16: error: 'j' was not declared in this scope
w[0][0]+=st[j-1],w[0][1]+=sp[j-1];
^
0_0_37426008_26702.cpp:30:4: error: 'else' without a previous 'if'
else for(int j=i+2;j<=n;j++)
^
0_0_37426008_26702.cpp:36:15: error: invalid types 'int[int]' for array subscript
w[i][i+1][0]=p[i];
^
0_0_37426008_26702.cpp:37:15: error: invalid types 'int[int]' for array subscript
w[i][i+1][1]=t[i];
^
0_0_37426008_26702.cpp:38:21: error: invalid types 'int[int]' for array subscript
f[i][0]=w[0][i][0]+p[i];
^
0_0_37426008_26702.cpp:39:21: error: invalid types 'int[int]' for array subscript
f[i][1]=w[0][i][1]+t[i];
^
0_0_37426008_26702.cpp:42:42: error: invalid types 'int[int]' for array subscript
f[i][0]=min(f[i][0],f[j][0]+w[j][i][0]+p[i]);
^
0_0_37426008_26702.cpp:43:42: error: invalid types 'int[int]' for array subscript
f[i][1]=min(f[i][1],f[j][1]+w[j][i][1]+t[i]);
^
|