0_0_28131181_1004.cpp: In function 'int main()':
0_0_28131181_1004.cpp:19:26: error: invalid types 'll {aka long long int}[int]' for array subscript
sum+=c[i]*p[i];
^
0_0_28131181_1004.cpp:30:36: error: invalid types 'll {aka long long int}[int]' for array subscript
ll tmp=min(c[i],res/p[i]);
^
0_0_28131181_1004.cpp:31:25: error: invalid types 'll {aka long long int}[int]' for array subscript
res-=tmp*p[i];
^
|