Problem iqtest
User helloworld
Submission Time 2023-08-02 10:05:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

iqtest.cpp: In function ‘int main()’:
iqtest.cpp:11:10: error: expected primary-expression before ‘long’
11 | cout<<(long long(pow(a[i],p[i]+1)-1))/(a[i]-1)%p[i]<<"\n";
| ^~~~
iqtest.cpp:11:10: error: expected ‘)’ before ‘long’
11 | cout<<(long long(pow(a[i],p[i]+1)-1))/(a[i]-1)%p[i]<<"\n";
| ~^~~~
| )