0_0_15349801_30188.cpp:3:9: error: '__int64' does not name a type
typedef __int64 ll;
^
0_0_15349801_30188.cpp:5:1: error: 'll' does not name a type
ll phi[MM], sum[MM];
^
0_0_15349801_30188.cpp: In function 'void get_phi()':
0_0_15349801_30188.cpp:8:6: error: 'll' was not declared in this scope
ll i,j,k;
^
0_0_15349801_30188.cpp:9:10: error: 'i' was not declared in this scope
for(i=1;i<MM;i++) phi[i]=i;
^
0_0_15349801_30188.cpp:9:24: error: 'phi' was not declared in this scope
for(i=1;i<MM;i++) phi[i]=i;
^
0_0_15349801_30188.cpp:10:10: error: 'i' was not declared in this scope
for(i=2;i<MM;i+=2) phi[i]>>=1;
^
0_0_15349801_30188.cpp:10:25: error: 'phi' was not declared in this scope
for(i=2;i<MM;i+=2) phi[i]>>=1;
^
0_0_15349801_30188.cpp:11:10: error: 'i' was not declared in this scope
for(i=3;i<MM;i++) {
^
0_0_15349801_30188.cpp:12:13: error: 'phi' was not declared in this scope
if(phi[i]==i) {
^
0_0_15349801_30188.cpp:13:18: error: 'j' was not declared in this scope
for(j=i;j<MM;j+=i)
^
0_0_15349801_30188.cpp:17:6: error: 'sum' was not declared in this scope
sum[0]=0;
^
0_0_15349801_30188.cpp:18:10: error: 'i' was not declared in this scope
for(i=1;i<MM;i++) sum[i]=sum[i-1]+(phi[i]<<1);
^
0_0_15349801_30188.cpp:18:41: error: 'phi' was not declared in this scope
for(i=1;i<MM;i++) sum[i]=sum[i-1]+(phi[i]<<1);
^
0_0_15349801_30188.cpp: In function 'void solve()':
0_0_15349801_30188.cpp:21:22: error: 'sum' was not declared in this scope
printf("%I64d\n",sum[N]+1);
^
0_0_15349801_30188.cpp:21:30: error: 'printf' was not declared in this scope
printf("%I64d\n",sum[N]+1);
^
0_0_15349801_30188.cpp: In function 'int main()':
0_0_15349801_30188.cpp:25:24: error: 'scanf' was not declared in this scope
while(scanf("%d",&N)!=EOF) solve();
^
0_0_15349801_30188.cpp:25:27: error: 'EOF' was not declared in this scope
while(scanf("%d",&N)!=EOF) solve();
^
|