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_26356229_565\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_26356229_565\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_26356229_565\Main.java:3: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_26356229_565\Main.java:4: 错误: 需要class, interface或enum
const int maxn=1e6+7;
^
0_0_26356229_565\Main.java:5: 错误: 非法字符: '#'
#define mod 1000000007
^
0_0_26356229_565\Main.java:5: 错误: 需要class, interface或enum
#define mod 1000000007
        ^
0_0_26356229_565\Main.java:7: 错误: 需要class, interface或enum
void get_phi()
^
0_0_26356229_565\Main.java:9: 错误: 需要class, interface或enum
    for(int i=1;i<maxn;i++)
                ^
0_0_26356229_565\Main.java:9: 错误: 需要class, interface或enum
    for(int i=1;i<maxn;i++)
                       ^
0_0_26356229_565\Main.java:11: 错误: 需要class, interface或enum
    for(int i=2;i<maxn;i++)
    ^
0_0_26356229_565\Main.java:11: 错误: 需要class, interface或enum
    for(int i=2;i<maxn;i++)
                ^
0_0_26356229_565\Main.java:11: 错误: 需要class, interface或enum
    for(int i=2;i<maxn;i++)
                       ^
0_0_26356229_565\Main.java:13: 错误: 需要class, interface或enum
        for(int j=i;j<maxn;j+=i)
                    ^
0_0_26356229_565\Main.java:13: 错误: 需要class, interface或enum
        for(int j=i;j<maxn;j+=i)
                           ^
0_0_26356229_565\Main.java:16: 错误: 需要class, interface或enum
    for(int i=3;i<maxn;i++)
    ^
0_0_26356229_565\Main.java:16: 错误: 需要class, interface或enum
    for(int i=3;i<maxn;i++)
                ^
0_0_26356229_565\Main.java:16: 错误: 需要class, interface或enum
    for(int i=3;i<maxn;i++)
                       ^
0_0_26356229_565\Main.java:19: 错误: 需要class, interface或enum
    for(int i=2;i<maxn;i++)
    ^
0_0_26356229_565\Main.java:19: 错误: 需要class, interface或enum
    for(int i=2;i<maxn;i++)
                ^
0_0_26356229_565\Main.java:19: 错误: 需要class, interface或enum
    for(int i=2;i<maxn;i++)
                       ^
0_0_26356229_565\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_26356229_565\Main.java:25: 错误: 需要class, interface或enum
    while(b){
    ^
0_0_26356229_565\Main.java:27: 错误: 需要class, interface或enum
        a=a*a%mod;
        ^
0_0_26356229_565\Main.java:28: 错误: 需要class, interface或enum
        b>>=1;
        ^
0_0_26356229_565\Main.java:29: 错误: 需要class, interface或enum
    }
    ^
0_0_26356229_565\Main.java:31: 错误: 需要class, interface或enum
}
^
0_0_26356229_565\Main.java:35: 错误: 需要class, interface或enum
    int T;
    ^
0_0_26356229_565\Main.java:36: 错误: 需要class, interface或enum
    scanf("%d",&T);
    ^
0_0_26356229_565\Main.java:37: 错误: 需要class, interface或enum
    while(T--){
    ^
0_0_26356229_565\Main.java:39: 错误: 需要class, interface或enum
        scanf("%lld%lld",&x,&n);
        ^
0_0_26356229_565\Main.java:41: 错误: 需要class, interface或enum
        ll ans=0;
        ^
0_0_26356229_565\Main.java:42: 错误: 需要class, interface或enum
        ll inv=quickPow(x-1,mod-2);
        ^
0_0_26356229_565\Main.java:43: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i=n/(n/i)+1)
        ^
0_0_26356229_565\Main.java:43: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i=n/(n/i)+1)
                    ^
0_0_26356229_565\Main.java:43: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i=n/(n/i)+1)
                         ^
0_0_26356229_565\Main.java:46: 错误: 需要class, interface或enum
            ll part=((quickPow(x,i)*(quickPow(x,r-i+1)-1)%mod)*inv%mod-(r-i+1)+mod)%mod;
            ^
0_0_26356229_565\Main.java:47: 错误: 需要class, interface或enum
            ans=(ans+(phi[n/i]*part)%mod+mod)%mod;
            ^
0_0_26356229_565\Main.java:48: 错误: 需要class, interface或enum
        }
        ^
0_0_26356229_565\Main.java:50: 错误: 需要class, interface或enum
    }
    ^
0_0_26356229_565\Main.java:52: 错误: 需要class, interface或enum
}
^
40 个错误


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