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_33798639_24914\Main.java:1: 错误: 非法字符: '#'
#pragma GCC optimize(3, "Ofast", "inline")
^
0_0_33798639_24914\Main.java:1: 错误: 需要class, interface或enum
#pragma GCC optimize(3, "Ofast", "inline")
        ^
0_0_33798639_24914\Main.java:3: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_33798639_24914\Main.java:5: 错误: 非法字符: '#'
#define start ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);
^
0_0_33798639_24914\Main.java:5: 错误: 需要class, interface或enum
#define start ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);
                                          ^
0_0_33798639_24914\Main.java:5: 错误: 需要class, interface或enum
#define start ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);
                                                     ^
0_0_33798639_24914\Main.java:6: 错误: 非法字符: '#'
#define ll long long
^
0_0_33798639_24914\Main.java:6: 错误: 需要class, interface或enum
#define ll long long
        ^
0_0_33798639_24914\Main.java:7: 错误: 非法字符: '#'
#define int ll
^
0_0_33798639_24914\Main.java:8: 错误: 非法字符: '#'
#define ls st<<1
^
0_0_33798639_24914\Main.java:9: 错误: 非法字符: '#'
#define rs st<<1|1
^
0_0_33798639_24914\Main.java:10: 错误: 非法字符: '#'
#define pii pair<int,int>
^
0_0_33798639_24914\Main.java:11: 错误: 非法字符: '#'
#define rep(z, x, y) for(int z=x;z<=y;++z)
^
0_0_33798639_24914\Main.java:11: 错误: 需要class, interface或enum
#define rep(z, x, y) for(int z=x;z<=y;++z)
                                 ^
0_0_33798639_24914\Main.java:11: 错误: 需要class, interface或enum
#define rep(z, x, y) for(int z=x;z<=y;++z)
                                      ^
0_0_33798639_24914\Main.java:12: 错误: 非法字符: '#'
#define repd(z, x, y) for(int z=x;z>=y;--z)
^
0_0_33798639_24914\Main.java:12: 错误: 需要class, interface或enum
#define repd(z, x, y) for(int z=x;z>=y;--z)
                                  ^
0_0_33798639_24914\Main.java:12: 错误: 需要class, interface或enum
#define repd(z, x, y) for(int z=x;z>=y;--z)
                                       ^
0_0_33798639_24914\Main.java:13: 错误: 非法字符: '#'
#define com bool operator<(const node &b)const
^
0_0_33798639_24914\Main.java:15: 错误: 需要class, interface或enum
mt19937 rnd(chrono::high_resolution_clock::now().time_since_epoch().count());
^
0_0_33798639_24914\Main.java:16: 错误: 需要class, interface或enum
const int maxn = (ll) 1e6 + 5;
^
0_0_33798639_24914\Main.java:17: 错误: 需要class, interface或enum
const int mod = 1e6 + 3;
^
0_0_33798639_24914\Main.java:18: 错误: 需要class, interface或enum
const int inf = 0x3f3f3f3f;
^
0_0_33798639_24914\Main.java:19: 错误: 需要class, interface或enum
int T = 1;
^
0_0_33798639_24914\Main.java:20: 错误: 需要class, interface或enum
bool vis[maxn];
^
0_0_33798639_24914\Main.java:22: 错误: 需要class, interface或enum
void solve() {
^
0_0_33798639_24914\Main.java:24: 错误: 需要class, interface或enum
    while (cin >> n) {
    ^
0_0_33798639_24914\Main.java:26: 错误: 需要class, interface或enum
        memset(vis, false, sizeof(vis));
        ^
0_0_33798639_24914\Main.java:27: 错误: 需要class, interface或enum
        rep(i, 1, n) {
        ^
0_0_33798639_24914\Main.java:29: 错误: 需要class, interface或enum
            cin >> x;
            ^
0_0_33798639_24914\Main.java:30: 错误: 需要class, interface或enum
            sum += x;
            ^
0_0_33798639_24914\Main.java:31: 错误: 需要class, interface或enum
        }
        ^
0_0_33798639_24914\Main.java:33: 错误: 需要class, interface或enum
        cin >> m;
        ^
0_0_33798639_24914\Main.java:34: 错误: 需要class, interface或enum
        int cnt = 0;
        ^
0_0_33798639_24914\Main.java:35: 错误: 需要class, interface或enum
        rep(i, 1, m) {
        ^
0_0_33798639_24914\Main.java:37: 错误: 需要class, interface或enum
            cin >> id;
            ^
0_0_33798639_24914\Main.java:38: 错误: 需要class, interface或enum
            if (!vis[id]) {
            ^
0_0_33798639_24914\Main.java:40: 错误: 需要class, interface或enum
                ++cnt;
                ^
0_0_33798639_24914\Main.java:41: 错误: 需要class, interface或enum
            }
            ^
0_0_33798639_24914\Main.java:45: 错误: 需要class, interface或enum
        else if (m >= n)cout << "0.00\n";
        ^
0_0_33798639_24914\Main.java:46: 错误: 需要class, interface或enum
        else cout << fixed << setprecision(2) << sum * 1.0 / (n - cnt)<<'\n';
        ^
0_0_33798639_24914\Main.java:47: 错误: 需要class, interface或enum
    }
    ^
0_0_33798639_24914\Main.java:53: 错误: 需要class, interface或enum
    while (T--)
    ^
0_0_33798639_24914\Main.java:55: 错误: 需要class, interface或enum
    return 0;
    ^
0_0_33798639_24914\Main.java:56: 错误: 需要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-29 10:37:39, Gzip enabled