0_0_36400573_17692.cpp:8:7: error: 'mod1' does not name a type
const mod1=1e9+7,mod2=1e9+9;
^
0_0_36400573_17692.cpp: In function 'int main()':
0_0_36400573_17692.cpp:93:46: error: 'mod1' was not declared in this scope
ans1+=(ll)(a[i][j]*qmi(x,j-1,mod1))%mod1; ans1%=mod1;
^
0_0_36400573_17692.cpp:94:65: error: 'mod2' was not declared in this scope
ans2+=(ll)(a[i][j]*qmi(x,j-1,mod1))%mod1; ans2%=mod2;
^
|