Problem | candies |
---|---|
User | dacashew |
Submission Time | 2023-12-04 13:30:26 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
candies.cpp: In function ‘int main()’:
candies.cpp:90:7: error: invalid types ‘long long int[long long int]’ for array subscript
90 | a[b]++;
| ^
candies.cpp:95:7: error: invalid types ‘long long int[long long int]’ for array subscript
95 | a[b]=max(a[b]-1,0LL);
| ^
candies.cpp:95:16: error: invalid types ‘long long int[long long int]’ for array subscript
95 | a[b]=max(a[b]-1,0LL);
| ^
candies.cpp:96:10: error: invalid types ‘long long int[long long int]’ for array subscript
96 | if(a[b]==0){
| ^