0_0_38594769_8174.cpp: In function 'int main()':
0_0_38594769_8174.cpp:17:5: error: invalid types 'int[int]' for array subscript
a[1]=k*c+(m+n)/2*a;
^
0_0_38594769_8174.cpp:18:5: error: invalid types 'int[int]' for array subscript
a[2]=k*c+(m+n)/3*b;
^
0_0_38594769_8174.cpp:19:5: error: invalid types 'int[int]' for array subscript
a[3]=(n+m+2k)/2*a;
^
0_0_38594769_8174.cpp:19:12: error: unable to find numeric literal operator 'operator""k'
a[3]=(n+m+2k)/2*a;
^~
0_0_38594769_8174.cpp:19:12: note: use -fext-numeric-literals to enable more built-in suffixes
0_0_38594769_8174.cpp:20:5: error: invalid types 'int[int]' for array subscript
a[4]=(n+m+2k)/3*b;
^
0_0_38594769_8174.cpp:20:12: error: unable to find numeric literal operator 'operator""k'
a[4]=(n+m+2k)/3*b;
^~
0_0_38594769_8174.cpp:20:12: note: use -fext-numeric-literals to enable more built-in suffixes
0_0_38594769_8174.cpp:21:5: error: invalid types 'int[int]' for array subscript
a[5]=k*c+n/2*a+m/3*b;
^
0_0_38594769_8174.cpp:22:5: error: invalid types 'int[int]' for array subscript
a[6]=k*c+m/2*a+n/3*b;
^
0_0_38594769_8174.cpp:24:6: error: invalid types 'int[int]' for array subscript
a[1]=a[1]+1;
^
0_0_38594769_8174.cpp:24:11: error: invalid types 'int[int]' for array subscript
a[1]=a[1]+1;
^
0_0_38594769_8174.cpp:25:6: error: invalid types 'int[int]' for array subscript
a[2]=a[2]+1;
^
0_0_38594769_8174.cpp:25:11: error: invalid types 'int[int]' for array subscript
a[2]=a[2]+1;
^
0_0_38594769_8174.cpp:26:6: error: invalid types 'int[int]' for array subscript
a[5]=a[5]+1;
^
0_0_38594769_8174.cpp:26:11: error: invalid types 'int[int]' for array subscript
a[5]=a[5]+1;
^
0_0_38594769_8174.cpp:29:6: error: invalid types 'int[int]' for array subscript
a[3]=a[3]+1;
^
0_0_38594769_8174.cpp:29:11: error: invalid types 'int[int]' for array subscript
a[3]=a[3]+1;
^
0_0_38594769_8174.cpp:30:6: error: invalid types 'int[int]' for array subscript
a[4]=a[4]+1;
^
0_0_38594769_8174.cpp:30:11: error: invalid types 'int[int]' for array subscript
a[4]=a[4]+1;
^
0_0_38594769_8174.cpp:31:6: error: invalid types 'int[int]' for array subscript
a[6]=a[6]+1;
^
0_0_38594769_8174.cpp:31:11: error: invalid types 'int[int]' for array subscript
a[6]=a[6]+1;
^
0_0_38594769_8174.cpp:33:17: error: invalid types 'int[int]' for array subscript
pay=min(fun(a[1],a[2],a[3]),fun(a[4],a[5],a[6]))
^
0_0_38594769_8174.cpp:33:22: error: invalid types 'int[int]' for array subscript
pay=min(fun(a[1],a[2],a[3]),fun(a[4],a[5],a[6]))
^
0_0_38594769_8174.cpp:33:27: error: invalid types 'int[int]' for array subscript
pay=min(fun(a[1],a[2],a[3]),fun(a[4],a[5],a[6]))
^
0_0_38594769_8174.cpp:33:37: error: invalid types 'int[int]' for array subscript
pay=min(fun(a[1],a[2],a[3]),fun(a[4],a[5],a[6]))
^
0_0_38594769_8174.cpp:33:42: error: invalid types 'int[int]' for array subscript
pay=min(fun(a[1],a[2],a[3]),fun(a[4],a[5],a[6]))
^
0_0_38594769_8174.cpp:33:47: error: invalid types 'int[int]' for array subscript
pay=min(fun(a[1],a[2],a[3]),fun(a[4],a[5],a[6]))
^
|