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_18900227_21567\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdtr1c++.h>
^
0_0_18900227_21567\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdtr1c++.h>
         ^
0_0_18900227_21567\Main.java:3: 错误: 非法字符: '#'
#define MAXN 100
^
0_0_18900227_21567\Main.java:4: 错误: 非法字符: '#'
#define MAXM 10001
^
0_0_18900227_21567\Main.java:5: 错误: 非法字符: '#'
#define MAXP 40000
^
0_0_18900227_21567\Main.java:6: 错误: 非法字符: '#'
#define MAX 400000
^
0_0_18900227_21567\Main.java:7: 错误: 非法字符: '#'
#define clr(ar) memset(ar, 0, sizeof(ar))
^
0_0_18900227_21567\Main.java:8: 错误: 非法字符: '#'
#define read() freopen("lol.txt", "r", stdin)
^
0_0_18900227_21567\Main.java:9: 错误: 非法字符: '#'
#define dbg(x) cout << #x << " = " << x << endl
^
0_0_18900227_21567\Main.java:9: 错误: 非法字符: '#'
#define dbg(x) cout << #x << " = " << x << endl
                       ^
0_0_18900227_21567\Main.java:10: 错误: 非法字符: '#'
#define chkbit(ar, i) (((ar[(i) >> 6]) & (1 << (((i) >> 1) & 31))))
^
0_0_18900227_21567\Main.java:11: 错误: 非法字符: '#'
#define setbit(ar, i) (((ar[(i) >> 6]) |= (1 << (((i) >> 1) & 31))))
^
0_0_18900227_21567\Main.java:12: 错误: 非法字符: '#'
#define isprime(x) (( (x) && ((x)&1) && (!chkbit(ar, (x)))) || ((x) == 2))
^
0_0_18900227_21567\Main.java:16: 错误: 需要class, interface或enum
namespace pcf{
^
0_0_18900227_21567\Main.java:18: 错误: 需要class, interface或enum
    unsigned int ar[(MAX >> 6) + 5] = {0};
    ^
0_0_18900227_21567\Main.java:19: 错误: 需要class, interface或enum
    int len = 0, primes[MAXP], counter[MAX];
    ^
0_0_18900227_21567\Main.java:21: 错误: 需要class, interface或enum
    void Sieve(){
    ^
0_0_18900227_21567\Main.java:23: 错误: 需要class, interface或enum
        for (int i = 3; (i * i) < MAX; i++, i++){
        ^
0_0_18900227_21567\Main.java:23: 错误: 需要class, interface或enum
        for (int i = 3; (i * i) < MAX; i++, i++){
                        ^
0_0_18900227_21567\Main.java:23: 错误: 需要class, interface或enum
        for (int i = 3; (i * i) < MAX; i++, i++){
                                       ^
0_0_18900227_21567\Main.java:26: 错误: 需要class, interface或enum
                for (int j = (i * i); j < MAX; j += k) setbit(ar, j);
                ^
0_0_18900227_21567\Main.java:26: 错误: 需要class, interface或enum
                for (int j = (i * i); j < MAX; j += k) setbit(ar, j);
                                      ^
0_0_18900227_21567\Main.java:26: 错误: 需要class, interface或enum
                for (int j = (i * i); j < MAX; j += k) setbit(ar, j);
                                               ^
0_0_18900227_21567\Main.java:27: 错误: 需要class, interface或enum
            }
            ^
0_0_18900227_21567\Main.java:30: 错误: 需要class, interface或enum
        for (int i = 1; i < MAX; i++){
                        ^
0_0_18900227_21567\Main.java:30: 错误: 需要class, interface或enum
        for (int i = 1; i < MAX; i++){
                                 ^
0_0_18900227_21567\Main.java:32: 错误: 需要class, interface或enum
            if (isprime(i)) primes[len++] = i, counter[i]++;
            ^
0_0_18900227_21567\Main.java:33: 错误: 需要class, interface或enum
        }
        ^
0_0_18900227_21567\Main.java:38: 错误: 需要class, interface或enum
        for (int n = 0; n < MAXN; n++){
        ^
0_0_18900227_21567\Main.java:38: 错误: 需要class, interface或enum
        for (int n = 0; n < MAXN; n++){
                        ^
0_0_18900227_21567\Main.java:38: 错误: 需要class, interface或enum
        for (int n = 0; n < MAXN; n++){
                                  ^
0_0_18900227_21567\Main.java:39: 错误: 需要class, interface或enum
            for (int m = 0; m < MAXM; m++){
                            ^
0_0_18900227_21567\Main.java:39: 错误: 需要class, interface或enum
            for (int m = 0; m < MAXM; m++){
                                      ^
0_0_18900227_21567\Main.java:41: 错误: 需要class, interface或enum
                else dp[n][m] = dp[n - 1][m] - dp[n - 1][m / primes[n - 1]];
                ^
0_0_18900227_21567\Main.java:42: 错误: 需要class, interface或enum
            }
            ^
0_0_18900227_21567\Main.java:48: 错误: 需要class, interface或enum
        if (primes[n - 1] >= m) return 1;
        ^
0_0_18900227_21567\Main.java:49: 错误: 需要class, interface或enum
        if (m < MAXM && n < MAXN) return dp[n][m];
        ^
0_0_18900227_21567\Main.java:50: 错误: 需要class, interface或enum
        return phi(m, n - 1) - phi(m / primes[n - 1], n - 1);
        ^
0_0_18900227_21567\Main.java:51: 错误: 需要class, interface或enum
    }
    ^
0_0_18900227_21567\Main.java:56: 错误: 需要class, interface或enum
        long long w, res = 0;
        ^
0_0_18900227_21567\Main.java:57: 错误: 需要class, interface或enum
        int i, a, s, c, x, y;
        ^
0_0_18900227_21567\Main.java:58: 错误: 需要class, interface或enum
        s = sqrt(0.9 + m), y = c = cbrt(0.9 + m);
        ^
0_0_18900227_21567\Main.java:59: 错误: 需要class, interface或enum
        a = counter[y], res = phi(m, a) + a - 1;
        ^
0_0_18900227_21567\Main.java:60: 错误: 需要class, interface或enum
        for (i = a; primes[i] <= s; i++) res = res - Lehmer(m / primes[i]) + Lehmer(primes[i]) - 1;
        ^
0_0_18900227_21567\Main.java:60: 错误: 需要class, interface或enum
        for (i = a; primes[i] <= s; i++) res = res - Lehmer(m / primes[i]) + Lehmer(primes[i]) - 1;
                    ^
0_0_18900227_21567\Main.java:60: 错误: 需要class, interface或enum
        for (i = a; primes[i] <= s; i++) res = res - Lehmer(m / primes[i]) + Lehmer(primes[i]) - 1;
                                    ^
0_0_18900227_21567\Main.java:61: 错误: 需要class, interface或enum
        return res;
        ^
0_0_18900227_21567\Main.java:62: 错误: 需要class, interface或enum
    }
    ^
0_0_18900227_21567\Main.java:67: 错误: 需要class, interface或enum
    long long x, y, res = 0;
    ^
0_0_18900227_21567\Main.java:69: 错误: 需要class, interface或enum
    for (i = 0; i < pcf::len; i++){
    ^
0_0_18900227_21567\Main.java:69: 错误: 需要class, interface或enum
    for (i = 0; i < pcf::len; i++){
                ^
0_0_18900227_21567\Main.java:69: 错误: 需要class, interface或enum
    for (i = 0; i < pcf::len; i++){
                              ^
0_0_18900227_21567\Main.java:71: 错误: 需要class, interface或enum
        if ((x * x) > n) break;
        ^
0_0_18900227_21567\Main.java:72: 错误: 需要class, interface或enum
        res += (pcf::Lehmer(y) - pcf::Lehmer(x));
        ^
0_0_18900227_21567\Main.java:73: 错误: 需要class, interface或enum
    }
    ^
0_0_18900227_21567\Main.java:75: 错误: 需要class, interface或enum
    for (i = 0; i < pcf::len; i++){
                ^
0_0_18900227_21567\Main.java:75: 错误: 需要class, interface或enum
    for (i = 0; i < pcf::len; i++){
                              ^
0_0_18900227_21567\Main.java:77: 错误: 需要class, interface或enum
        if ((x * x * x) > n) break;
        ^
0_0_18900227_21567\Main.java:78: 错误: 需要class, interface或enum
        res++;
        ^
0_0_18900227_21567\Main.java:79: 错误: 需要class, interface或enum
    }
    ^
0_0_18900227_21567\Main.java:82: 错误: 需要class, interface或enum
}
^
0_0_18900227_21567\Main.java:86: 错误: 需要class, interface或enum
    long long n, res;
    ^
0_0_18900227_21567\Main.java:88: 错误: 需要class, interface或enum
    while (scanf("%lld", &n) != EOF){
    ^
0_0_18900227_21567\Main.java:92: 错误: 需要class, interface或enum
    }
    ^
0_0_18900227_21567\Main.java:94: 错误: 需要class, interface或enum
}
^
65 个错误


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-25 22:47:35, Gzip enabled