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_26023609_17603\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_26023609_17603\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_26023609_17603\Main.java:3: 错误: 需要class, interface或enum
const int N=2e7,MAXN=N+100;
^
0_0_26023609_17603\Main.java:4: 错误: 需要class, interface或enum
int T,n,tot,mu[MAXN],fu[MAXN],prime[MAXN/10],phi[MAXN];
^
0_0_26023609_17603\Main.java:5: 错误: 需要class, interface或enum
long long pphi[MAXN];
^
0_0_26023609_17603\Main.java:6: 错误: 需要class, interface或enum
long long f[MAXN];
^
0_0_26023609_17603\Main.java:7: 错误: 需要class, interface或enum
bool vis[MAXN];
^
0_0_26023609_17603\Main.java:9: 错误: 需要class, interface或enum
int read() {
^
0_0_26023609_17603\Main.java:11: 错误: 需要class, interface或enum
    char ch = getchar();
    ^
0_0_26023609_17603\Main.java:12: 错误: 需要class, interface或enum
    for (; ch < '0' || ch > '9'; ch = getchar());
    ^
0_0_26023609_17603\Main.java:12: 错误: 需要class, interface或enum
    for (; ch < '0' || ch > '9'; ch = getchar());
           ^
0_0_26023609_17603\Main.java:12: 错误: 需要class, interface或enum
    for (; ch < '0' || ch > '9'; ch = getchar());
                                 ^
0_0_26023609_17603\Main.java:13: 错误: 需要class, interface或enum
    for (; ch >= '0' && ch <= '9'; ch = getchar())
    ^
0_0_26023609_17603\Main.java:13: 错误: 需要class, interface或enum
    for (; ch >= '0' && ch <= '9'; ch = getchar())
           ^
0_0_26023609_17603\Main.java:13: 错误: 需要class, interface或enum
    for (; ch >= '0' && ch <= '9'; ch = getchar())
                                   ^
0_0_26023609_17603\Main.java:15: 错误: 需要class, interface或enum
    return res;
    ^
0_0_26023609_17603\Main.java:16: 错误: 需要class, interface或enum
}
^
0_0_26023609_17603\Main.java:20: 错误: 需要class, interface或enum
}
^
0_0_26023609_17603\Main.java:24: 错误: 需要class, interface或enum
    mu[1]=1,phi[1]=1,pphi[1]=1;
    ^
0_0_26023609_17603\Main.java:25: 错误: 需要class, interface或enum
    for (int i=2;i<=N;++i)
    ^
0_0_26023609_17603\Main.java:25: 错误: 需要class, interface或enum
    for (int i=2;i<=N;++i)
                 ^
0_0_26023609_17603\Main.java:25: 错误: 需要class, interface或enum
    for (int i=2;i<=N;++i)
                      ^
0_0_26023609_17603\Main.java:28: 错误: 需要class, interface或enum
          if( i&1 ) pphi[i]=phi[i]/2;
          ^
0_0_26023609_17603\Main.java:29: 错误: 需要class, interface或enum
          else pphi[i]=phi[i];
          ^
0_0_26023609_17603\Main.java:30: 错误: 需要class, interface或enum
        for (int j=1;i*prime[j]<=N&&j<=tot;++j)
        ^
0_0_26023609_17603\Main.java:30: 错误: 需要class, interface或enum
        for (int j=1;i*prime[j]<=N&&j<=tot;++j)
                     ^
0_0_26023609_17603\Main.java:30: 错误: 需要class, interface或enum
        for (int j=1;i*prime[j]<=N&&j<=tot;++j)
                                           ^
0_0_26023609_17603\Main.java:33: 错误: 需要class, interface或enum
            if( i%prime[j]==0 ){
            ^
0_0_26023609_17603\Main.java:35: 错误: 需要class, interface或enum
                   phi[i*prime[j]]=phi[i]*prime[j];
                   ^
0_0_26023609_17603\Main.java:36: 错误: 需要class, interface或enum
                   break;
                   ^
0_0_26023609_17603\Main.java:37: 错误: 需要class, interface或enum
            }
            ^
0_0_26023609_17603\Main.java:40: 错误: 需要class, interface或enum
                phi[i*prime[j]]=phi[i]*(prime[j]-1);
                ^
0_0_26023609_17603\Main.java:41: 错误: 需要class, interface或enum
            }
            ^
0_0_26023609_17603\Main.java:44: 错误: 需要class, interface或enum
    for (int i=1;i<=N;++i) fu[i]=fu[i-1]+(i&1?mu[i]:0);
                 ^
0_0_26023609_17603\Main.java:44: 错误: 需要class, interface或enum
    for (int i=1;i<=N;++i) fu[i]=fu[i-1]+(i&1?mu[i]:0);
                      ^
0_0_26023609_17603\Main.java:45: 错误: 需要class, interface或enum
    for (int i=2;i<=N;++i) mu[i]+=mu[i-1];
    ^
0_0_26023609_17603\Main.java:45: 错误: 需要class, interface或enum
    for (int i=2;i<=N;++i) mu[i]+=mu[i-1];
                 ^
0_0_26023609_17603\Main.java:45: 错误: 需要class, interface或enum
    for (int i=2;i<=N;++i) mu[i]+=mu[i-1];
                      ^
0_0_26023609_17603\Main.java:46: 错误: 需要class, interface或enum
    for (int i=2;i<=N;++i) pphi[i]+=pphi[i-1];
    ^
0_0_26023609_17603\Main.java:46: 错误: 需要class, interface或enum
    for (int i=2;i<=N;++i) pphi[i]+=pphi[i-1];
                 ^
0_0_26023609_17603\Main.java:46: 错误: 需要class, interface或enum
    for (int i=2;i<=N;++i) pphi[i]+=pphi[i-1];
                      ^
0_0_26023609_17603\Main.java:47: 错误: 需要class, interface或enum
    while (T--)
    ^
0_0_26023609_17603\Main.java:50: 错误: 需要class, interface或enum
        printf("%lld\n",pphi[n]-1);
        ^
0_0_26023609_17603\Main.java:51: 错误: 需要class, interface或enum
    }
    ^
44 个错误


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-23 04:02:46, Gzip enabled