Problem ballgame
User Pan
Submission Time 2023-12-12 15:40:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ballgame.cpp: In function ‘void update(ll, ll)’:
ballgame.cpp:29:10: error: no match for ‘operator%=’ (operand types are ‘std::vector<long long int>’ and ‘ll’ {aka ‘long long int’})
29 | fenwick%=mod;
| ~~~~~~~^~~~~