Main.cpp:30:46: error: expected '}' at end of input
30 | csum.at(i) = (csum.at(i - 1) + po
| ^
Main.cpp:19:14: note: to match this '{'
19 | struct seggy {
| ^
Main.cpp: In constructor 'seggy::seggy(ll, ll)':
Main.cpp:30:44: error: 'po' was not declared in this scope; did you mean 'pow'?
30 | csum.at(i) = (csum.at(i - 1) + po
| ^~
| pow
Main.cpp:30:46: error: expected ')' at end of input
30 | csum.at(i) = (csum.at(i - 1) + po
| ^
Main.cpp:30:26: note: to match this '('
30 | csum.at(i) = (csum.at(i - 1) + po
| ^
Main.cpp:30:46: error: expected '}' at end of input
30 | csum.at(i) = (csum.at(i - 1) + po
| ^
Main.cpp:24:91: note: to match this '{'
24 | seggy(ll n, ll mod) : mod(mod), n(n), seg(vector<ll>(4 * n)), lazy(vector<ll>(4 * n)) {
| ^
Main.cpp: At global scope:
Main.cpp:30:46: error: expected unqualified-id at end of input
30 | csum.at(i) = (csum.at(i - 1) + po
| ^