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_32834711_31490\Main.java:3: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_32834711_31490\Main.java:3: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_32834711_31490\Main.java:5: 错误: 需要class, interface或enum
function<void(void)> ____ = [](){ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);};
^
0_0_32834711_31490\Main.java:5: 错误: 需要class, interface或enum
function<void(void)> ____ = [](){ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);};
                                                                   ^
0_0_32834711_31490\Main.java:5: 错误: 需要class, interface或enum
function<void(void)> ____ = [](){ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);};
                                                                               ^
0_0_32834711_31490\Main.java:5: 错误: 需要class, interface或enum
function<void(void)> ____ = [](){ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);};
                                                                                           ^
0_0_32834711_31490\Main.java:6: 错误: 需要class, interface或enum
using LL = int_fast64_t;
^
0_0_32834711_31490\Main.java:7: 错误: 需要class, interface或enum
LL n,m;
^
0_0_32834711_31490\Main.java:8: 错误: 需要class, interface或enum
const LL MOD = 1e9+7;
^
0_0_32834711_31490\Main.java:9: 错误: 需要class, interface或enum
LL qpow(LL a, LL b){
^
0_0_32834711_31490\Main.java:11: 错误: 需要class, interface或enum
    while(b){
    ^
0_0_32834711_31490\Main.java:13: 错误: 需要class, interface或enum
        b >>= 1;
        ^
0_0_32834711_31490\Main.java:14: 错误: 需要class, interface或enum
        a = a * a % MOD;
        ^
0_0_32834711_31490\Main.java:15: 错误: 需要class, interface或enum
    }
    ^
0_0_32834711_31490\Main.java:17: 错误: 需要class, interface或enum
}
^
0_0_32834711_31490\Main.java:20: 错误: 需要class, interface或enum
    for(int i = 1; i * i <= x; i++){
    ^
0_0_32834711_31490\Main.java:20: 错误: 需要class, interface或enum
    for(int i = 1; i * i <= x; i++){
                   ^
0_0_32834711_31490\Main.java:20: 错误: 需要class, interface或enum
    for(int i = 1; i * i <= x; i++){
                               ^
0_0_32834711_31490\Main.java:22: 错误: 需要class, interface或enum
        vec.emplace_back(i);
        ^
0_0_32834711_31490\Main.java:23: 错误: 需要class, interface或enum
        if(i!=x/i) vec.emplace_back(x/i);
        ^
0_0_32834711_31490\Main.java:24: 错误: 需要class, interface或enum
    }
    ^
0_0_32834711_31490\Main.java:26: 错误: 需要class, interface或enum
}
^
0_0_32834711_31490\Main.java:29: 错误: 需要class, interface或enum
    for(int i = 2; i * i <= x; i++){
    ^
0_0_32834711_31490\Main.java:29: 错误: 需要class, interface或enum
    for(int i = 2; i * i <= x; i++){
                   ^
0_0_32834711_31490\Main.java:29: 错误: 需要class, interface或enum
    for(int i = 2; i * i <= x; i++){
                               ^
0_0_32834711_31490\Main.java:31: 错误: 需要class, interface或enum
        phi = phi / i * (i-1);
        ^
0_0_32834711_31490\Main.java:32: 错误: 需要class, interface或enum
        while(x%i==0) x/=i;
        ^
0_0_32834711_31490\Main.java:33: 错误: 需要class, interface或enum
        if(x==1) break;
        ^
0_0_32834711_31490\Main.java:34: 错误: 需要class, interface或enum
    }
    ^
0_0_32834711_31490\Main.java:36: 错误: 需要class, interface或enum
    return phi;
    ^
0_0_32834711_31490\Main.java:37: 错误: 需要class, interface或enum
}
^
0_0_32834711_31490\Main.java:40: 错误: 需要class, interface或enum
    LL ret = 0;
    ^
0_0_32834711_31490\Main.java:41: 错误: 需要class, interface或enum
    vector<int> vec = calfact(n);
    ^
0_0_32834711_31490\Main.java:42: 错误: 需要class, interface或enum
    for(int fc : vec) ret = (ret + phi(n/fc)*qpow(m,fc)) % MOD;
    ^
0_0_32834711_31490\Main.java:43: 错误: 需要class, interface或enum
    if(n&1) ret = (ret + n*qpow(m,n/2+1)%MOD) % MOD * qpow(2*n,MOD-2) % MOD;
    ^
0_0_32834711_31490\Main.java:44: 错误: 需要class, interface或enum
    else ret = (ret + n/2*qpow(m,n/2)%MOD + (n/2)*qpow(m,n/2+1)%MOD) % MOD * qpow(2*n,MOD-2) % MOD;
    ^
0_0_32834711_31490\Main.java:45: 错误: 需要class, interface或enum
    cout << "Case #" << kase << ": " << ret << endl;
    ^
0_0_32834711_31490\Main.java:46: 错误: 需要class, interface或enum
}
^
0_0_32834711_31490\Main.java:49: 错误: 需要class, interface或enum
    int T; cin >> T;
    ^
0_0_32834711_31490\Main.java:49: 错误: 需要class, interface或enum
    int T; cin >> T;
           ^
0_0_32834711_31490\Main.java:50: 错误: 需要class, interface或enum
    for(int kase = 1; kase <= T; kase++) solve(kase);    
    ^
0_0_32834711_31490\Main.java:50: 错误: 需要class, interface或enum
    for(int kase = 1; kase <= T; kase++) solve(kase);    
                      ^
0_0_32834711_31490\Main.java:50: 错误: 需要class, interface或enum
    for(int kase = 1; kase <= T; kase++) solve(kase);    
                                 ^
0_0_32834711_31490\Main.java:51: 错误: 需要class, interface或enum
    return 0;
    ^
0_0_32834711_31490\Main.java:52: 错误: 需要class, interface或enum
}
^
45 个错误


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 16:57:11, Gzip enabled