0_0_36511347_3102.cpp: In function 'int main()':
0_0_36511347_3102.cpp:34:74: error: too few arguments to function 'll qpow(ll, ll, ll)'
ll h1 = (r1 * r1 + d * d - r2 * r2) % mod * qpow((2 * d), mod - 2) % mod;
^
0_0_36511347_3102.cpp:9:4: note: declared here
ll qpow(ll a, ll b, ll mod) {
^
0_0_36511347_3102.cpp:46:19: error: 'h' was not declared in this scope
ans = h * inv(2 * r1, mod) % mod;
^
0_0_36511347_3102.cpp:48:40: error: 'h' was not declared in this scope
ans = (mod + 1 - (2 * r1 - h) * inv(2 * r1, mod)) % mod;
^
|