0_0_17930061_10378.cpp:14:1: error: 'LL' does not name a type
LL phi[N],prime[N>>1],tot;
^
0_0_17930061_10378.cpp:15:1: error: 'LL' does not name a type
LL sum[N],k,n,m,p;
^
0_0_17930061_10378.cpp:16:1: error: 'LL' does not name a type
LL qpow(LL a,LL b,LL mod){
^
0_0_17930061_10378.cpp: In function 'void getphi()':
0_0_17930061_10378.cpp:26:3: error: 'phi' was not declared in this scope
phi[1]=1;tot=0;
^
0_0_17930061_10378.cpp:26:12: error: 'tot' was not declared in this scope
phi[1]=1;tot=0;
^
0_0_17930061_10378.cpp:29:7: error: 'prime' was not declared in this scope
prime[++tot]=i;
^
0_0_17930061_10378.cpp:33:12: error: 'prime' was not declared in this scope
if(i*prime[j]>N-5)break;
^
0_0_17930061_10378.cpp:34:15: error: 'prime' was not declared in this scope
check[i*prime[j]]=true;
^
0_0_17930061_10378.cpp:43:5: error: 'sum' was not declared in this scope
sum[i]=(sum[i-1]+phi[i])%mod;
^
0_0_17930061_10378.cpp: At global scope:
0_0_17930061_10378.cpp:46:1: error: 'LL' does not name a type
LL solve(LL n,LL m){
^
0_0_17930061_10378.cpp:58:1: error: 'LL' does not name a type
LL f(LL x){
^
0_0_17930061_10378.cpp: In function 'int main()':
0_0_17930061_10378.cpp:64:35: error: 'n' was not declared in this scope
while(~scanf("%I64d%I64d%I64d",&n,&m,&p)){
^
0_0_17930061_10378.cpp:64:38: error: 'm' was not declared in this scope
while(~scanf("%I64d%I64d%I64d",&n,&m,&p)){
^
0_0_17930061_10378.cpp:64:41: error: 'p' was not declared in this scope
while(~scanf("%I64d%I64d%I64d",&n,&m,&p)){
^
0_0_17930061_10378.cpp:65:5: error: 'k' was not declared in this scope
k=solve(n,m);
^
0_0_17930061_10378.cpp:65:16: error: 'solve' was not declared in this scope
k=solve(n,m);
^
0_0_17930061_10378.cpp:66:25: error: 'f' was not declared in this scope
printf("%I64d\n",f(p));
^
|