0_0_34957594_29610\Main.java:1: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_34957594_29610\Main.java:1: 错误: 需要class, interface或enum
#include<cstdio>
^
0_0_34957594_29610\Main.java:2: 错误: 非法字符: '#'
#include<iostream>
^
0_0_34957594_29610\Main.java:5: 错误: 需要class, interface或enum
const int MAXN = 2e7;
^
0_0_34957594_29610\Main.java:7: 错误: 需要class, interface或enum
int prime[MAXN],phi[MAXN],mark[MAXN];
^
0_0_34957594_29610\Main.java:8: 错误: 需要class, interface或enum
long long sum[MAXN];
^
0_0_34957594_29610\Main.java:10: 错误: 需要class, interface或enum
int cnt=0;
^
0_0_34957594_29610\Main.java:11: 错误: 需要class, interface或enum
void p(int n)
^
0_0_34957594_29610\Main.java:13: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) {phi[i]=0;mark[i]=0;prime[i]=0;}
^
0_0_34957594_29610\Main.java:13: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) {phi[i]=0;mark[i]=0;prime[i]=0;}
^
0_0_34957594_29610\Main.java:13: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) {phi[i]=0;mark[i]=0;prime[i]=0;}
^
0_0_34957594_29610\Main.java:13: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) {phi[i]=0;mark[i]=0;prime[i]=0;}
^
0_0_34957594_29610\Main.java:13: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) {phi[i]=0;mark[i]=0;prime[i]=0;}
^
0_0_34957594_29610\Main.java:17: 错误: 需要class, interface或enum
for(int i=2;i<=n;i++)
^
0_0_34957594_29610\Main.java:17: 错误: 需要class, interface或enum
for(int i=2;i<=n;i++)
^
0_0_34957594_29610\Main.java:17: 错误: 需要class, interface或enum
for(int i=2;i<=n;i++)
^
0_0_34957594_29610\Main.java:22: 错误: 需要class, interface或enum
phi[i]=i-1;
^
0_0_34957594_29610\Main.java:23: 错误: 需要class, interface或enum
}
^
0_0_34957594_29610\Main.java:24: 错误: 需要class, interface或enum
for(int j=1;j<=cnt;j++)
^
0_0_34957594_29610\Main.java:24: 错误: 需要class, interface或enum
for(int j=1;j<=cnt;j++)
^
0_0_34957594_29610\Main.java:27: 错误: 需要class, interface或enum
mark[i*prime[j]]=1;
^
0_0_34957594_29610\Main.java:28: 错误: 需要class, interface或enum
if(i%prime[j]==0)
^
0_0_34957594_29610\Main.java:31: 错误: 需要class, interface或enum
break;
^
0_0_34957594_29610\Main.java:32: 错误: 需要class, interface或enum
}
^
0_0_34957594_29610\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_34957594_29610\Main.java:45: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_34957594_29610\Main.java:45: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_34957594_29610\Main.java:45: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_34957594_29610\Main.java:50: 错误: 需要class, interface或enum
}
^
0_0_34957594_29610\Main.java:54: 错误: 需要class, interface或enum
}
^
0_0_34957594_29610\Main.java:61: 错误: 需要class, interface或enum
int t,n,i;
^
0_0_34957594_29610\Main.java:62: 错误: 需要class, interface或enum
scanf("%d",&t);
^
0_0_34957594_29610\Main.java:63: 错误: 需要class, interface或enum
while(t--)
^
0_0_34957594_29610\Main.java:66: 错误: 需要class, interface或enum
printf("%lld\n",sum[n]);
^
0_0_34957594_29610\Main.java:67: 错误: 需要class, interface或enum
}
^
35 个错误
|