F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_32465129_27445\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_32465129_27445\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_32465129_27445\Main.java:3: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_32465129_27445\Main.java:4: 错误: 需要class, interface或enum
const int N=6000010;
^
0_0_32465129_27445\Main.java:5: 错误: 需要class, interface或enum
const int mod=1e9+7;
^
0_0_32465129_27445\Main.java:6: 错误: 需要class, interface或enum
bool vis[N];
^
0_0_32465129_27445\Main.java:7: 错误: 需要class, interface或enum
int mu[N],sum1[N];
^
0_0_32465129_27445\Main.java:8: 错误: 需要class, interface或enum
ll sum2[N],phi[N];
^
0_0_32465129_27445\Main.java:9: 错误: 需要class, interface或enum
int tot,prime[N];
^
0_0_32465129_27445\Main.java:10: 错误: 需要class, interface或enum
unordered_map<ll,ll>w2;
^
0_0_32465129_27445\Main.java:11: 错误: 需要class, interface或enum
unordered_map<int,int>w1;
^
0_0_32465129_27445\Main.java:12: 错误: 需要class, interface或enum
void get(int maxn)
^
0_0_32465129_27445\Main.java:15: 错误: 需要class, interface或enum
    tot=0;
    ^
0_0_32465129_27445\Main.java:16: 错误: 需要class, interface或enum
    for(int i=2;i<=maxn;i++)
    ^
0_0_32465129_27445\Main.java:16: 错误: 需要class, interface或enum
    for(int i=2;i<=maxn;i++)
                ^
0_0_32465129_27445\Main.java:16: 错误: 需要class, interface或enum
    for(int i=2;i<=maxn;i++)
                        ^
0_0_32465129_27445\Main.java:21: 错误: 需要class, interface或enum
            mu[i]=-1;
            ^
0_0_32465129_27445\Main.java:22: 错误: 需要class, interface或enum
            phi[i]=i-1;
            ^
0_0_32465129_27445\Main.java:23: 错误: 需要class, interface或enum
        }
        ^
0_0_32465129_27445\Main.java:24: 错误: 需要class, interface或enum
        for(int j=0;j<tot&&prime[j]*i<=maxn;j++)
                    ^
0_0_32465129_27445\Main.java:24: 错误: 需要class, interface或enum
        for(int j=0;j<tot&&prime[j]*i<=maxn;j++)
                                            ^
0_0_32465129_27445\Main.java:27: 错误: 需要class, interface或enum
            if(i%prime[j]==0)
            ^
0_0_32465129_27445\Main.java:30: 错误: 需要class, interface或enum
                mu[i*prime[j]]=0;
                ^
0_0_32465129_27445\Main.java:31: 错误: 需要class, interface或enum
                break;
                ^
0_0_32465129_27445\Main.java:32: 错误: 需要class, interface或enum
            }
            ^
0_0_32465129_27445\Main.java:36: 错误: 需要class, interface或enum
                phi[i*prime[j]]=phi[i]*(prime[j]-1);
                ^
0_0_32465129_27445\Main.java:37: 错误: 需要class, interface或enum
            }
            ^
0_0_32465129_27445\Main.java:40: 错误: 需要class, interface或enum
    for(int i=1;i<=maxn;i++)
                ^
0_0_32465129_27445\Main.java:40: 错误: 需要class, interface或enum
    for(int i=1;i<=maxn;i++)
                        ^
0_0_32465129_27445\Main.java:43: 错误: 需要class, interface或enum
        sum2[i]=(sum2[i-1]+phi[i]*i%mod)%mod;
        ^
0_0_32465129_27445\Main.java:44: 错误: 需要class, interface或enum
    }
    ^
0_0_32465129_27445\Main.java:49: 错误: 需要class, interface或enum
    if(w1[x])return w1[x];
    ^
0_0_32465129_27445\Main.java:50: 错误: 需要class, interface或enum
    int ans=1;
    ^
0_0_32465129_27445\Main.java:51: 错误: 需要class, interface或enum
    for(int l=2,r;l>=0&&l<=x;l=r+1)
    ^
0_0_32465129_27445\Main.java:51: 错误: 需要class, interface或enum
    for(int l=2,r;l>=0&&l<=x;l=r+1)
                  ^
0_0_32465129_27445\Main.java:51: 错误: 需要class, interface或enum
    for(int l=2,r;l>=0&&l<=x;l=r+1)
                             ^
0_0_32465129_27445\Main.java:54: 错误: 需要class, interface或enum
        ans-=(r-l+1)*djsmu(x/l);
        ^
0_0_32465129_27445\Main.java:55: 错误: 需要class, interface或enum
    }
    ^
0_0_32465129_27445\Main.java:57: 错误: 需要class, interface或enum
}
^
0_0_32465129_27445\Main.java:61: 错误: 需要class, interface或enum
    if(w2[x])return w2[x];
    ^
0_0_32465129_27445\Main.java:62: 错误: 需要class, interface或enum
    ll ans=((x*(x+1)%mod)*(x+x+1)%mod)*166666668%mod;
    ^
0_0_32465129_27445\Main.java:63: 错误: 需要class, interface或enum
    ll ret=0;
    ^
0_0_32465129_27445\Main.java:64: 错误: 需要class, interface或enum
    for(ll l=2,r;l<=x;l=r+1)
    ^
0_0_32465129_27445\Main.java:64: 错误: 需要class, interface或enum
    for(ll l=2,r;l<=x;l=r+1)
                 ^
0_0_32465129_27445\Main.java:64: 错误: 需要class, interface或enum
    for(ll l=2,r;l<=x;l=r+1)
                      ^
0_0_32465129_27445\Main.java:67: 错误: 需要class, interface或enum
        ret+=(r+l)*(r-l+1)%mod*500000004%mod*djsphi(x/l)%mod;
        ^
0_0_32465129_27445\Main.java:68: 错误: 需要class, interface或enum
        ret%=mod;
        ^
0_0_32465129_27445\Main.java:69: 错误: 需要class, interface或enum
    }
    ^
0_0_32465129_27445\Main.java:71: 错误: 需要class, interface或enum
}
^
0_0_32465129_27445\Main.java:75: 错误: 需要class, interface或enum
}
^
0_0_32465129_27445\Main.java:79: 错误: 需要class, interface或enum
    scanf("%d",&t);
    ^
0_0_32465129_27445\Main.java:80: 错误: 需要class, interface或enum
    get(6000000);
    ^
0_0_32465129_27445\Main.java:81: 错误: 需要class, interface或enum
    while(t--)
    ^
0_0_32465129_27445\Main.java:92: 错误: 需要class, interface或enum
        ll ans=(djsphi(n)-1)*500000004%mod;
        ^
0_0_32465129_27445\Main.java:93: 错误: 需要class, interface或enum
        printf("%lld\n",(ans%mod+mod)%mod);
        ^
0_0_32465129_27445\Main.java:94: 错误: 需要class, interface或enum
    }
    ^
0_0_32465129_27445\Main.java:96: 错误: 需要class, interface或enum
}
^
57 个错误


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-29 01:45:55, Gzip enabled