0_0_33528831_31928.cpp: In function 'void add(int&, int)':
0_0_33528831_31928.cpp:56:7: error: 'v' was not declared in this scope
u += v;
^
0_0_33528831_31928.cpp: In function 'int main()':
0_0_33528831_31928.cpp:80:34: error: 'add' cannot be used as a function
add(sum, 1ll * n0 * cnt % mod);
^
0_0_33528831_31928.cpp:83:83: error: 'add' cannot be used as a function
add(sum, 1ll * (r1 - 1 + mod) % mod * powmod(q - 1, mod - 2) % mod * cnt % mod);
^
|