0_0_33991361_21984.cpp:19:21: error: redefinition of 'int cnt'
int prime[MAXN],cnt,cnt;
^
0_0_33991361_21984.cpp:19:17: note: 'int cnt' previously declared here
int prime[MAXN],cnt,cnt;
^
0_0_33991361_21984.cpp: In function 'void sieve(const int&)':
0_0_33991361_21984.cpp:35:21: error: 'pcnt' was not declared in this scope
prime[++pcnt]=i;
^
0_0_33991361_21984.cpp:38:24: error: 'pcnt' was not declared in this scope
for(int j=1;j<=pcnt&&i*prime[j]<=n;j++){
^
0_0_33991361_21984.cpp: In function 'void calFprime()':
0_0_33991361_21984.cpp:62:46: error: expected ')' before ';' token
G[i]=(G[i]-(lll)p*(G[id]-Gk[k-1]);
^
0_0_33991361_21984.cpp: In function 'int main()':
0_0_33991361_21984.cpp:75:9: error: 'inv2' was not declared in this scope
inv2=qpow(2,MOD-2);
^
|