0_0_30483587_1307\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_30483587_1307\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_30483587_1307\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_30483587_1307\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_30483587_1307\Main.java:4: 错误: 非法字符: '#'
#include <cmath>
^
0_0_30483587_1307\Main.java:5: 错误: 非法字符: '#'
#include <map>
^
0_0_30483587_1307\Main.java:10: 错误: 需要class, interface或enum
const int MAXX=3000000;
^
0_0_30483587_1307\Main.java:12: 错误: 需要class, interface或enum
typedef long long LL;
^
0_0_30483587_1307\Main.java:13: 错误: 需要class, interface或enum
const LL Mod = 1000000007;
^
0_0_30483587_1307\Main.java:14: 错误: 需要class, interface或enum
LL v[MAXX],phi[MAXX],p[MAXX];
^
0_0_30483587_1307\Main.java:16: 错误: 需要class, interface或enum
void init() {
^
0_0_30483587_1307\Main.java:18: 错误: 需要class, interface或enum
int cnt = 0;
^
0_0_30483587_1307\Main.java:19: 错误: 需要class, interface或enum
for (int i = 2; i < MAXX; i++) {
^
0_0_30483587_1307\Main.java:19: 错误: 需要class, interface或enum
for (int i = 2; i < MAXX; i++) {
^
0_0_30483587_1307\Main.java:19: 错误: 需要class, interface或enum
for (int i = 2; i < MAXX; i++) {
^
0_0_30483587_1307\Main.java:23: 错误: 需要class, interface或enum
phi[i] = i-1;
^
0_0_30483587_1307\Main.java:24: 错误: 需要class, interface或enum
}
^
0_0_30483587_1307\Main.java:25: 错误: 需要class, interface或enum
for (int j = 1; j <= cnt && p[j]*i < MAXX; j++) {
^
0_0_30483587_1307\Main.java:25: 错误: 需要class, interface或enum
for (int j = 1; j <= cnt && p[j]*i < MAXX; j++) {
^
0_0_30483587_1307\Main.java:27: 错误: 需要class, interface或enum
if (i%p[j]) {
^
0_0_30483587_1307\Main.java:30: 错误: 需要class, interface或enum
} else {
^
0_0_30483587_1307\Main.java:33: 错误: 需要class, interface或enum
break;
^
0_0_30483587_1307\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_30483587_1307\Main.java:37: 错误: 需要class, interface或enum
for (int i = 1; i < MAXX; i++) {
^
0_0_30483587_1307\Main.java:37: 错误: 需要class, interface或enum
for (int i = 1; i < MAXX; i++) {
^
0_0_30483587_1307\Main.java:40: 错误: 需要class, interface或enum
}
^
0_0_30483587_1307\Main.java:45: 错误: 需要class, interface或enum
for ( ; b; b>>=1,a = (a*a)%Mod)
^
0_0_30483587_1307\Main.java:45: 错误: 需要class, interface或enum
for ( ; b; b>>=1,a = (a*a)%Mod)
^
0_0_30483587_1307\Main.java:45: 错误: 需要class, interface或enum
for ( ; b; b>>=1,a = (a*a)%Mod)
^
0_0_30483587_1307\Main.java:47: 错误: 需要class, interface或enum
return ans;
^
0_0_30483587_1307\Main.java:48: 错误: 需要class, interface或enum
}
^
0_0_30483587_1307\Main.java:52: 错误: 需要class, interface或enum
map<int,LL> pp;
^
0_0_30483587_1307\Main.java:54: 错误: 需要class, interface或enum
LL sumiPhi(int x) {
^
0_0_30483587_1307\Main.java:56: 错误: 需要class, interface或enum
if (pp[x]) return pp[x];
^
0_0_30483587_1307\Main.java:57: 错误: 需要class, interface或enum
LL mod = Mod,n = x;
^
0_0_30483587_1307\Main.java:58: 错误: 需要class, interface或enum
LL ans = 1LL*n*(n+1LL)%Mod*(2LL*n%Mod+1)%Mod*inv6%Mod;
^
0_0_30483587_1307\Main.java:59: 错误: 需要class, interface或enum
for (int i = 2,j; i <= n; i = j+1) {
^
0_0_30483587_1307\Main.java:59: 错误: 需要class, interface或enum
for (int i = 2,j; i <= n; i = j+1) {
^
0_0_30483587_1307\Main.java:59: 错误: 需要class, interface或enum
for (int i = 2,j; i <= n; i = j+1) {
^
0_0_30483587_1307\Main.java:61: 错误: 需要class, interface或enum
LL tp = 1LL*(j-i+1LL)*(j+i)/2; tp%=Mod;
^
0_0_30483587_1307\Main.java:61: 错误: 需要class, interface或enum
LL tp = 1LL*(j-i+1LL)*(j+i)/2; tp%=Mod;
^
0_0_30483587_1307\Main.java:62: 错误: 需要class, interface或enum
ans = ((ans-1LL*tp%Mod*sumiPhi(n/i)%Mod)%Mod+Mod)%Mod;
^
0_0_30483587_1307\Main.java:63: 错误: 需要class, interface或enum
}
^
0_0_30483587_1307\Main.java:65: 错误: 需要class, interface或enum
}
^
0_0_30483587_1307\Main.java:69: 错误: 需要class, interface或enum
cin >> T;
^
0_0_30483587_1307\Main.java:70: 错误: 需要class, interface或enum
init();
^
0_0_30483587_1307\Main.java:71: 错误: 需要class, interface或enum
while(T--) {
^
0_0_30483587_1307\Main.java:73: 错误: 需要class, interface或enum
if(n==1) cout << "0\n";
^
0_0_30483587_1307\Main.java:74: 错误: 需要class, interface或enum
else printf("%lld\n",(sumiPhi(n)-1LL+Mod)%Mod*inv2%Mod);
^
0_0_30483587_1307\Main.java:75: 错误: 需要class, interface或enum
}
^
0_0_30483587_1307\Main.java:77: 错误: 需要class, interface或enum
}
^
51 个错误
|