0_0_30217309_29383.cpp: In function 'int main()':
0_0_30217309_29383.cpp:17:23: error: invalid types 'int[int]' for array subscript
if(2*b-a<0)a[0]=1;
^
0_0_30217309_29383.cpp:18:28: error: invalid types 'int[int]' for array subscript
else if(2*b==a) a[1]=1;
^
0_0_30217309_29383.cpp:23:25: error: 'k' was not declared in this scope
if(5*L>sum) k[0]=1;
^
0_0_30217309_29383.cpp:31:32: error: invalid types 'int[int]' for array subscript
a[5]=i,a[9]=L-i;
^
0_0_30217309_29383.cpp:31:39: error: invalid types 'int[int]' for array subscript
a[5]=i,a[9]=L-i;
^
0_0_30217309_29383.cpp:35:32: error: invalid types 'int[int]' for array subscript
a[5]=i-1;k[x]=1;a[9]=L-i;
^
0_0_30217309_29383.cpp:35:38: error: 'k' was not declared in this scope
a[5]=i-1;k[x]=1;a[9]=L-i;
^
0_0_30217309_29383.cpp:35:48: error: invalid types 'int[int]' for array subscript
a[5]=i-1;k[x]=1;a[9]=L-i;
^
0_0_30217309_29383.cpp:49:28: error: invalid types 'int[int]' for array subscript
a[x]=1;a[4]=i;a[9]=L;
^
0_0_30217309_29383.cpp:49:35: error: invalid types 'int[int]' for array subscript
a[x]=1;a[4]=i;a[9]=L;
^
0_0_30217309_29383.cpp:49:42: error: invalid types 'int[int]' for array subscript
a[x]=1;a[4]=i;a[9]=L;
^
0_0_30217309_29383.cpp:57:22: error: invalid types 'int[int]' for array subscript
while(a[i]--)
^
|