Problem | newjeans |
---|---|
User | PlayVoltz |
Submission Time | 2023-12-24 02:40:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
newjeans.cpp: In function ‘long long int f(long long int, long long int)’:
newjeans.cpp:15:16: error: invalid types ‘long long int[long long int]’ for array subscript
15 | sum+=c[vect[L]];
| ^
newjeans.cpp:16:13: error: invalid types ‘long long int[long long int]’ for array subscript
16 | ++c[vect[L]];
| ^
newjeans.cpp:20:16: error: invalid types ‘long long int[long long int]’ for array subscript
20 | sum+=c[vect[R]];
| ^
newjeans.cpp:21:13: error: invalid types ‘long long int[long long int]’ for array subscript
21 | ++c[vect[R]];
| ^
newjeans.cpp:24:13: error: invalid types ‘long long int[long long int]’ for array subscript
24 | --c[vect[L]];
| ^
newjeans.cpp:25:16: error: invalid types ‘long long int[long long int]’ for array subscript
25 | sum-=c[vect[L]];
| ^
newjeans.cpp:29:13: er