0_0_34484600_30917.cpp: In function 'int main()':
0_0_34484600_30917.cpp:35:2: error: 'cout' was not declared in this scope
cout<<(inv(2)*2)%mod<<' '<<(inv(3)*3)%mod<<endl;
^
0_0_34484600_30917.cpp:35:45: error: 'endl' was not declared in this scope
cout<<(inv(2)*2)%mod<<' '<<(inv(3)*3)%mod<<endl;
^
0_0_34484600_30917.cpp:37:15: error: 'scanf' was not declared in this scope
scanf("%d",&T);
^
0_0_34484600_30917.cpp:50:39: error: 'printf' was not declared in this scope
printf("%lld",((a*n)%mod+phin+a)%mod);
^
|