Problem thumper2
User rs
Submission Time 2025-03-22 22:27:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

thumper2.cpp: In function ‘int main()’:
thumper2.cpp:143:23: error: no match for ‘operator[]’ (operand types are ‘ll [500003][3]’ {aka ‘int [500003][3]’} and ‘pi’ {aka ‘std::pair<int, int>’})
143 | FOR(i,1,m) -- tmp[ind[A[i]][1]];
| ^