Problem pokeadd
User Pan
Submission Time 2024-05-10 01:44:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pokeadd.cpp: In function ‘int main()’:
pokeadd.cpp:40:16: error: expected initializer before ‘.’ token
40 | vector<ll> arr.assign(100000, 0);
| ^
pokeadd.cpp:43:3: error: ‘arr’ was not declared in this scope
43 | arr[counter1] = (arr[counter1] + x%b)%b;
| ^~~
pokeadd.cpp:47:2: error: ‘arr’ was not declared in this scope
47 | arr[counter1] = (arr[counter1] + x%b)%b;
| ^~~