0_0_24621365_30515.cpp: In function 'int main()':
0_0_24621365_30515.cpp:38:15: error: 'q' was not declared in this scope
sum=sum*(((q[i] * (p[i] - 1) % mod) * inv[i] + 1) % mod) % mod;
^
0_0_24621365_30515.cpp:38:23: error: 'p' was not declared in this scope
sum=sum*(((q[i] * (p[i] - 1) % mod) * inv[i] + 1) % mod) % mod;
^
|