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_36242408_27371\Main.java:2: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_36242408_27371\Main.java:2: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
         ^
0_0_36242408_27371\Main.java:4: 错误: 非法字符: '#'
#define gcd(a,b) __gcd(a,b)
^
0_0_36242408_27371\Main.java:4: 错误: 需要class, interface或enum
#define gcd(a,b) __gcd(a,b)
        ^
0_0_36242408_27371\Main.java:5: 错误: 非法字符: '#'
#define lcm(a,b) (1ll * a * b / gcd(a, b))
^
0_0_36242408_27371\Main.java:6: 错误: 非法字符: '#'
#define Polynomial vector<int>
^
0_0_36242408_27371\Main.java:7: 错误: 非法字符: '#'
#define Inv(x) quick_pow(x, mod - 2)
^
0_0_36242408_27371\Main.java:8: 错误: 非法字符: '#'
#define DEBUG(x, y) cout << x << ": " << y << '\n';
^
0_0_36242408_27371\Main.java:9: 错误: 需要class, interface或enum
using ld = long double;
^
0_0_36242408_27371\Main.java:10: 错误: 需要class, interface或enum
using ll = long long;
^
0_0_36242408_27371\Main.java:11: 错误: 需要class, interface或enum
using ull = unsigned long long;
^
0_0_36242408_27371\Main.java:13: 错误: 需要class, interface或enum
const ll mod = 1004535809, mod_g = 3;
^
0_0_36242408_27371\Main.java:15: 错误: 需要class, interface或enum
const int N = int(1e5 + 10);
^
0_0_36242408_27371\Main.java:16: 错误: 需要class, interface或enum
__int128 read() {
^
0_0_36242408_27371\Main.java:18: 错误: 需要class, interface或enum
    char ch = getchar();
    ^
0_0_36242408_27371\Main.java:19: 错误: 需要class, interface或enum
    while(ch < '0' || ch > '9') { if(ch == '-') f = -1; ch = getchar(); }
    ^
0_0_36242408_27371\Main.java:19: 错误: 需要class, interface或enum
    while(ch < '0' || ch > '9') { if(ch == '-') f = -1; ch = getchar(); }
                                                        ^
0_0_36242408_27371\Main.java:19: 错误: 需要class, interface或enum
    while(ch < '0' || ch > '9') { if(ch == '-') f = -1; ch = getchar(); }
                                                                        ^
0_0_36242408_27371\Main.java:20: 错误: 需要class, interface或enum
    while(ch >= '0' && ch <= '9') { x = x * 10 + ch - '0'; ch = getchar(); }
                                                           ^
0_0_36242408_27371\Main.java:20: 错误: 需要class, interface或enum
    while(ch >= '0' && ch <= '9') { x = x * 10 + ch - '0'; ch = getchar(); }
                                                                           ^
0_0_36242408_27371\Main.java:22: 错误: 需要class, interface或enum
}
^
0_0_36242408_27371\Main.java:24: 错误: 需要class, interface或enum
    if(x < 0) { putchar('-'); x =- x; }
                              ^
0_0_36242408_27371\Main.java:24: 错误: 需要class, interface或enum
    if(x < 0) { putchar('-'); x =- x; }
                                      ^
0_0_36242408_27371\Main.java:26: 错误: 需要class, interface或enum
    putchar(x % 10 + '0');
    ^
0_0_36242408_27371\Main.java:27: 错误: 需要class, interface或enum
}
^
0_0_36242408_27371\Main.java:30: 错误: 需要class, interface或enum
    for(; p; p >>= 1, ans = ans * ans % mod)
          ^
0_0_36242408_27371\Main.java:30: 错误: 需要class, interface或enum
    for(; p; p >>= 1, ans = ans * ans % mod)
             ^
0_0_36242408_27371\Main.java:32: 错误: 需要class, interface或enum
    return res % mod;
    ^
0_0_36242408_27371\Main.java:33: 错误: 需要class, interface或enum
}
^
0_0_36242408_27371\Main.java:37: 错误: 需要class, interface或enum
ll C[110][110], f[110];
^
0_0_36242408_27371\Main.java:39: 错误: 需要class, interface或enum
inline void solve() {
^
0_0_36242408_27371\Main.java:46: 错误: 需要class, interface或enum
    for(int i = 1; i <= 101; ++ i) {
    ^
0_0_36242408_27371\Main.java:46: 错误: 需要class, interface或enum
    for(int i = 1; i <= 101; ++ i) {
                   ^
0_0_36242408_27371\Main.java:46: 错误: 需要class, interface或enum
    for(int i = 1; i <= 101; ++ i) {
                             ^
0_0_36242408_27371\Main.java:48: 错误: 需要class, interface或enum
        for (int j = 1; j < i; ++j) {
        ^
0_0_36242408_27371\Main.java:48: 错误: 需要class, interface或enum
        for (int j = 1; j < i; ++j) {
                        ^
0_0_36242408_27371\Main.java:48: 错误: 需要class, interface或enum
        for (int j = 1; j < i; ++j) {
                               ^
0_0_36242408_27371\Main.java:50: 错误: 需要class, interface或enum
        }
        ^
0_0_36242408_27371\Main.java:53: 错误: 需要class, interface或enum
    for(int i = 2; i <= 100; ++ i) {
    ^
0_0_36242408_27371\Main.java:53: 错误: 需要class, interface或enum
    for(int i = 2; i <= 100; ++ i) {
                   ^
0_0_36242408_27371\Main.java:53: 错误: 需要class, interface或enum
    for(int i = 2; i <= 100; ++ i) {
                             ^
0_0_36242408_27371\Main.java:55: 错误: 需要class, interface或enum
    }
    ^
0_0_36242408_27371\Main.java:57: 错误: 需要class, interface或enum
        int n; cin >> n;
               ^
0_0_36242408_27371\Main.java:58: 错误: 需要class, interface或enum
        if(n == -1) break;
        ^
0_0_36242408_27371\Main.java:59: 错误: 需要class, interface或enum
        double res = 1;
        ^
0_0_36242408_27371\Main.java:60: 错误: 需要class, interface或enum
        cout << f[n] / n << '\n';
        ^
0_0_36242408_27371\Main.java:61: 错误: 需要class, interface或enum
    }
    ^
0_0_36242408_27371\Main.java:66: 错误: 需要class, interface或enum
    cin.tie(0);
    ^
0_0_36242408_27371\Main.java:67: 错误: 需要class, interface或enum
    cout.tie(0);
    ^
0_0_36242408_27371\Main.java:68: 错误: 非法字符: '#'
#ifdef ACM_LOCAL
^
0_0_36242408_27371\Main.java:68: 错误: 需要class, interface或enum
#ifdef ACM_LOCAL
       ^
0_0_36242408_27371\Main.java:71: 错误: 需要class, interface或enum
    signed test_index_for_debug = 1;
    ^
0_0_36242408_27371\Main.java:72: 错误: 需要class, interface或enum
    char acm_local_for_debug = 0;
    ^
0_0_36242408_27371\Main.java:73: 错误: 需要class, interface或enum
    do {
    ^
0_0_36242408_27371\Main.java:75: 错误: 需要class, interface或enum
        if (test_index_for_debug > 20)
        ^
0_0_36242408_27371\Main.java:77: 错误: 需要class, interface或enum
        auto start_clock_for_debug = clock();
        ^
0_0_36242408_27371\Main.java:78: 错误: 需要class, interface或enum
        solve();
        ^
0_0_36242408_27371\Main.java:79: 错误: 需要class, interface或enum
        auto end_clock_for_debug = clock();
        ^
0_0_36242408_27371\Main.java:80: 错误: 需要class, interface或enum
        cout << "Test " << test_index_for_debug << " successful" << endl;
        ^
0_0_36242408_27371\Main.java:81: 错误: 需要class, interface或enum
        cerr << "Test " << test_index_for_debug++ << " Run Time: "
        ^
0_0_36242408_27371\Main.java:83: 错误: 需要class, interface或enum
        cout << "--------------------------------------------------" << endl;
        ^
0_0_36242408_27371\Main.java:84: 错误: 需要class, interface或enum
    } while (cin >> acm_local_for_debug && cin.putback(acm_local_for_debug));
    ^
0_0_36242408_27371\Main.java:85: 错误: 非法字符: '#'
#else
^
0_0_36242408_27371\Main.java:86: 错误: 需要class, interface或enum
    solve();
    ^
0_0_36242408_27371\Main.java:87: 错误: 非法字符: '#'
#endif
^
0_0_36242408_27371\Main.java:88: 错误: 需要class, interface或enum
    return 0;
    ^
0_0_36242408_27371\Main.java:89: 错误: 需要class, interface或enum
}
^
67 个错误


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-23 01:40:13, Gzip enabled