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_13955725_8351\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_13955725_8351\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_13955725_8351\Main.java:2: 错误: 非法字符: '#'
#include <cstring>
^
0_0_13955725_8351\Main.java:3: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_13955725_8351\Main.java:4: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_13955725_8351\Main.java:7: 错误: 需要class, interface或enum
const long long N = 1000050;
^
0_0_13955725_8351\Main.java:8: 错误: 需要class, interface或enum
const long long M = 1000000007;
^
0_0_13955725_8351\Main.java:9: 错误: 需要class, interface或enum
long long next[N];
^
0_0_13955725_8351\Main.java:10: 错误: 需要class, interface或enum
long long n;
^
0_0_13955725_8351\Main.java:11: 错误: 需要class, interface或enum
struct p
^
0_0_13955725_8351\Main.java:15: 错误: 需要class, interface或enum
    bool operator == (const p & s){
    ^
0_0_13955725_8351\Main.java:17: 错误: 需要class, interface或enum
            return false;
            ^
0_0_13955725_8351\Main.java:18: 错误: 需要class, interface或enum
    }
    ^
0_0_13955725_8351\Main.java:20: 错误: 需要class, interface或enum
long long power1(long long c,long long n)
^
0_0_13955725_8351\Main.java:23: 错误: 需要class, interface或enum
    while(n){
    ^
0_0_13955725_8351\Main.java:25: 错误: 需要class, interface或enum
        if(res >= M) res %= M;
        ^
0_0_13955725_8351\Main.java:26: 错误: 需要class, interface或enum
        c *= c;
        ^
0_0_13955725_8351\Main.java:27: 错误: 需要class, interface或enum
        if(c >= M) c %= M;
        ^
0_0_13955725_8351\Main.java:28: 错误: 需要class, interface或enum
        n >>= 1;
        ^
0_0_13955725_8351\Main.java:29: 错误: 需要class, interface或enum
    }
    ^
0_0_13955725_8351\Main.java:31: 错误: 需要class, interface或enum
}
^
0_0_13955725_8351\Main.java:35: 错误: 需要class, interface或enum
    int i  = 0,j = -1;
    ^
0_0_13955725_8351\Main.java:36: 错误: 需要class, interface或enum
    next[0] = -1;
    ^
0_0_13955725_8351\Main.java:37: 错误: 需要class, interface或enum
    while(i < len){
    ^
0_0_13955725_8351\Main.java:40: 错误: 需要class, interface或enum
                 next[i] = j;
                 ^
0_0_13955725_8351\Main.java:41: 错误: 需要class, interface或enum
            }else j = next[j];
            ^
0_0_13955725_8351\Main.java:42: 错误: 需要class, interface或enum
    }
    ^
0_0_13955725_8351\Main.java:44: 错误: 需要class, interface或enum
    if( (n % next[len])== 0) return next[len];
    ^
0_0_13955725_8351\Main.java:45: 错误: 需要class, interface或enum
    else return n;
    ^
0_0_13955725_8351\Main.java:46: 错误: 需要class, interface或enum
}
^
0_0_13955725_8351\Main.java:49: 错误: 需要class, interface或enum
}
^
0_0_13955725_8351\Main.java:53: 错误: 需要class, interface或enum
    scanf("%I64d",&t);
    ^
0_0_13955725_8351\Main.java:54: 错误: 需要class, interface或enum
    while(t--){
    ^
0_0_13955725_8351\Main.java:56: 错误: 需要class, interface或enum
        for(int i = 0;i < n ; ++i) {
        ^
0_0_13955725_8351\Main.java:56: 错误: 需要class, interface或enum
        for(int i = 0;i < n ; ++i) {
                      ^
0_0_13955725_8351\Main.java:56: 错误: 需要class, interface或enum
        for(int i = 0;i < n ; ++i) {
                              ^
0_0_13955725_8351\Main.java:58: 错误: 需要class, interface或enum
        }
        ^
0_0_13955725_8351\Main.java:59: 错误: 需要class, interface或enum
        for(int i = 0; i < n; ++i){
                       ^
0_0_13955725_8351\Main.java:59: 错误: 需要class, interface或enum
        for(int i = 0; i < n; ++i){
                              ^
0_0_13955725_8351\Main.java:61: 错误: 需要class, interface或enum
        }
        ^
0_0_13955725_8351\Main.java:64: 错误: 需要class, interface或enum
            continue;
            ^
0_0_13955725_8351\Main.java:65: 错误: 需要class, interface或enum
        }
        ^
0_0_13955725_8351\Main.java:67: 错误: 需要class, interface或enum
       long long ans = 0,num = 0;
       ^
0_0_13955725_8351\Main.java:68: 错误: 需要class, interface或enum
       for(int i = 1; i <= n; ++i) {
       ^
0_0_13955725_8351\Main.java:68: 错误: 需要class, interface或enum
       for(int i = 1; i <= n; ++i) {
                      ^
0_0_13955725_8351\Main.java:68: 错误: 需要class, interface或enum
       for(int i = 1; i <= n; ++i) {
                              ^
0_0_13955725_8351\Main.java:70: 错误: 需要class, interface或enum
                ans += power1(c, gcd(i, n));
                ^
0_0_13955725_8351\Main.java:71: 错误: 需要class, interface或enum
                if(ans >= M) ans -=M;
                ^
0_0_13955725_8351\Main.java:72: 错误: 需要class, interface或enum
                ++num;
                ^
0_0_13955725_8351\Main.java:73: 错误: 需要class, interface或enum
       }
       ^
0_0_13955725_8351\Main.java:75: 错误: 需要class, interface或enum
    }
    ^
0_0_13955725_8351\Main.java:80: 错误: 需要class, interface或enum
}
^
52 个错误


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-26 12:26:20, Gzip enabled