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_29473644_2957\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_29473644_2957\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_29473644_2957\Main.java:2: 错误: 非法字符: '#'
#include <cassert>
^
0_0_29473644_2957\Main.java:3: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_29473644_2957\Main.java:4: 错误: 非法字符: '#'
#include <cstring>
^
0_0_29473644_2957\Main.java:5: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_29473644_2957\Main.java:8: 错误: 需要class, interface或enum
typedef unsigned long long LL;
^
0_0_29473644_2957\Main.java:10: 错误: 需要class, interface或enum
const int MAX = 200020;
^
0_0_29473644_2957\Main.java:11: 错误: 需要class, interface或enum
int p[MAX], pcnt=0;
^
0_0_29473644_2957\Main.java:12: 错误: 需要class, interface或enum
int minf[MAX];
^
0_0_29473644_2957\Main.java:13: 错误: 需要class, interface或enum
int phi[MAX];
^
0_0_29473644_2957\Main.java:14: 错误: 需要class, interface或enum
void initprime() {
^
0_0_29473644_2957\Main.java:15: 错误: 需要class, interface或enum
    for (int i = 2; i < MAX; ++i) {
                    ^
0_0_29473644_2957\Main.java:15: 错误: 需要class, interface或enum
    for (int i = 2; i < MAX; ++i) {
                             ^
0_0_29473644_2957\Main.java:18: 错误: 需要class, interface或enum
            phi[i] = i-1;
            ^
0_0_29473644_2957\Main.java:19: 错误: 需要class, interface或enum
        }
        ^
0_0_29473644_2957\Main.java:20: 错误: 需要class, interface或enum
        for (int j = 0; j < pcnt && p[j]*i < MAX; ++j) {
                        ^
0_0_29473644_2957\Main.java:20: 错误: 需要class, interface或enum
        for (int j = 0; j < pcnt && p[j]*i < MAX; ++j) {
                                                  ^
0_0_29473644_2957\Main.java:22: 错误: 需要class, interface或enum
            if (i%p[j])
            ^
0_0_29473644_2957\Main.java:24: 错误: 需要class, interface或enum
            else {
            ^
0_0_29473644_2957\Main.java:26: 错误: 需要class, interface或enum
                break;
                ^
0_0_29473644_2957\Main.java:27: 错误: 需要class, interface或enum
            }
            ^
0_0_29473644_2957\Main.java:34: 错误: 需要class, interface或enum
LL pow(LL x, LL p) {
^
0_0_29473644_2957\Main.java:36: 错误: 需要class, interface或enum
    for (; p; p>>=1) {
    ^
0_0_29473644_2957\Main.java:36: 错误: 需要class, interface或enum
    for (; p; p>>=1) {
           ^
0_0_29473644_2957\Main.java:36: 错误: 需要class, interface或enum
    for (; p; p>>=1) {
              ^
0_0_29473644_2957\Main.java:38: 错误: 需要class, interface或enum
        x = (x*x)%mod;
        ^
0_0_29473644_2957\Main.java:39: 错误: 需要class, interface或enum
    }
    ^
0_0_29473644_2957\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_29473644_2957\Main.java:44: 错误: 需要class, interface或enum
int b, c;
^
0_0_29473644_2957\Main.java:45: 错误: 需要class, interface或enum
LL a;
^
0_0_29473644_2957\Main.java:46: 错误: 需要class, interface或enum
LL ring[MAX], ringcnt;
^
0_0_29473644_2957\Main.java:48: 错误: 需要class, interface或enum
int main() {
^
0_0_29473644_2957\Main.java:50: 错误: 需要class, interface或enum
    cin>>T;
    ^
0_0_29473644_2957\Main.java:51: 错误: 需要class, interface或enum
    LL i, j, k, n;
    ^
0_0_29473644_2957\Main.java:52: 错误: 需要class, interface或enum
    LL php;
    ^
0_0_29473644_2957\Main.java:53: 错误: 需要class, interface或enum
    for (int t = 1; t <= T; ++t) {
    ^
0_0_29473644_2957\Main.java:53: 错误: 需要class, interface或enum
    for (int t = 1; t <= T; ++t) {
                    ^
0_0_29473644_2957\Main.java:53: 错误: 需要class, interface或enum
    for (int t = 1; t <= T; ++t) {
                            ^
0_0_29473644_2957\Main.java:55: 错误: 需要class, interface或enum
        mod = c;
        ^
0_0_29473644_2957\Main.java:56: 错误: 需要class, interface或enum
        printf("Case #%d: ", t);
        ^
0_0_29473644_2957\Main.java:57: 错误: 需要class, interface或enum
        if (c==1) {
        ^
0_0_29473644_2957\Main.java:61: 错误: 需要class, interface或enum
                else
                ^
0_0_29473644_2957\Main.java:63: 错误: 需要class, interface或enum
            }
            ^
0_0_29473644_2957\Main.java:65: 错误: 需要class, interface或enum
            continue;
            ^
0_0_29473644_2957\Main.java:66: 错误: 需要class, interface或enum
        }
        ^
0_0_29473644_2957\Main.java:68: 错误: 需要class, interface或enum
        LL fac = 1;
        ^
0_0_29473644_2957\Main.java:69: 错误: 需要class, interface或enum
        php = phi[c];
        ^
0_0_29473644_2957\Main.java:71: 错误: 需要class, interface或enum
        for (n = 0; n<=a && fac<php; ++n) {
        ^
0_0_29473644_2957\Main.java:71: 错误: 需要class, interface或enum
        for (n = 0; n<=a && fac<php; ++n) {
                    ^
0_0_29473644_2957\Main.java:71: 错误: 需要class, interface或enum
        for (n = 0; n<=a && fac<php; ++n) {
                                     ^
0_0_29473644_2957\Main.java:73: 错误: 需要class, interface或enum
            fac *= (n+1);
            ^
0_0_29473644_2957\Main.java:74: 错误: 需要class, interface或enum
        }
        ^
0_0_29473644_2957\Main.java:77: 错误: 需要class, interface或enum
        for (; n<=a && fac; ++n) {
        ^
0_0_29473644_2957\Main.java:77: 错误: 需要class, interface或enum
        for (; n<=a && fac; ++n) {
               ^
0_0_29473644_2957\Main.java:77: 错误: 需要class, interface或enum
        for (; n<=a && fac; ++n) {
                            ^
0_0_29473644_2957\Main.java:79: 错误: 需要class, interface或enum
            fac = fac*(n+1)%php;
            ^
0_0_29473644_2957\Main.java:80: 错误: 需要class, interface或enum
        }
        ^
0_0_29473644_2957\Main.java:84: 错误: 需要class, interface或enum
            for (i = 0; i < c; ++i) {
            ^
0_0_29473644_2957\Main.java:84: 错误: 需要class, interface或enum
            for (i = 0; i < c; ++i) {
                        ^
0_0_29473644_2957\Main.java:84: 错误: 需要class, interface或enum
            for (i = 0; i < c; ++i) {
                               ^
0_0_29473644_2957\Main.java:86: 错误: 需要class, interface或enum
                if (ring[i]==b) ++ringcnt;
                ^
0_0_29473644_2957\Main.java:87: 错误: 需要class, interface或enum
            }
            ^
0_0_29473644_2957\Main.java:89: 错误: 需要class, interface或enum
            ans += group*ringcnt;
            ^
0_0_29473644_2957\Main.java:90: 错误: 需要class, interface或enum
            LL left = (a-n+1)-group*c;
            ^
0_0_29473644_2957\Main.java:91: 错误: 需要class, interface或enum
            for (i = 0; i < left; ++i)
            ^
0_0_29473644_2957\Main.java:91: 错误: 需要class, interface或enum
            for (i = 0; i < left; ++i)
                        ^
0_0_29473644_2957\Main.java:91: 错误: 需要class, interface或enum
            for (i = 0; i < left; ++i)
                                  ^
0_0_29473644_2957\Main.java:93: 错误: 需要class, interface或enum
        }
        ^
0_0_29473644_2957\Main.java:96: 错误: 需要class, interface或enum
    }
    ^
0_0_29473644_2957\Main.java:98: 错误: 需要class, interface或enum
}
^
71 个错误


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 13:20:30, Gzip enabled