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_15778798_3445\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_15778798_3445\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_15778798_3445\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_15778798_3445\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_15778798_3445\Main.java:4: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_15778798_3445\Main.java:8: 错误: 需要class, interface或enum
const int maxn=111111;
^
0_0_15778798_3445\Main.java:9: 错误: 需要class, interface或enum
const long long INF=1e18;
^
0_0_15778798_3445\Main.java:11: 错误: 需要class, interface或enum
struct Point
^
0_0_15778798_3445\Main.java:14: 错误: 需要class, interface或enum
    int y;
    ^
0_0_15778798_3445\Main.java:15: 错误: 需要class, interface或enum
}a[maxn];
^
0_0_15778798_3445\Main.java:17: 错误: 需要class, interface或enum
int x[maxn];
^
0_0_15778798_3445\Main.java:18: 错误: 需要class, interface或enum
int y[maxn];
^
0_0_15778798_3445\Main.java:19: 错误: 需要class, interface或enum
long long sumx[maxn];
^
0_0_15778798_3445\Main.java:20: 错误: 需要class, interface或enum
long long sumy[maxn];
^
0_0_15778798_3445\Main.java:21: 错误: 需要class, interface或enum
int n;
^
0_0_15778798_3445\Main.java:22: 错误: 需要class, interface或enum
long long ans;
^
0_0_15778798_3445\Main.java:23: 错误: 需要class, interface或enum
long long tmp;
^
0_0_15778798_3445\Main.java:25: 错误: 需要class, interface或enum
int find(int q[],int key)
^
0_0_15778798_3445\Main.java:28: 错误: 需要class, interface或enum
    while (l<=r)
    ^
0_0_15778798_3445\Main.java:31: 错误: 需要class, interface或enum
        if (q[m]==key) return m;
        ^
0_0_15778798_3445\Main.java:32: 错误: 需要class, interface或enum
        if (q[m]<key) l=m+1;
        ^
0_0_15778798_3445\Main.java:33: 错误: 需要class, interface或enum
        else r=m-1;
        ^
0_0_15778798_3445\Main.java:34: 错误: 需要class, interface或enum
    }
    ^
0_0_15778798_3445\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_15778798_3445\Main.java:41: 错误: 需要class, interface或enum
    scanf("%d",&T);
    ^
0_0_15778798_3445\Main.java:42: 错误: 需要class, interface或enum
    while (T--)
    ^
0_0_15778798_3445\Main.java:45: 错误: 需要class, interface或enum
        scanf("%d",&n);
        ^
0_0_15778798_3445\Main.java:46: 错误: 需要class, interface或enum
        for (int i=1;i<=n;i++)
        ^
0_0_15778798_3445\Main.java:46: 错误: 需要class, interface或enum
        for (int i=1;i<=n;i++)
                     ^
0_0_15778798_3445\Main.java:46: 错误: 需要class, interface或enum
        for (int i=1;i<=n;i++)
                          ^
0_0_15778798_3445\Main.java:49: 错误: 需要class, interface或enum
            a[i].x=x[i];
            ^
0_0_15778798_3445\Main.java:50: 错误: 需要class, interface或enum
            a[i].y=y[i];
            ^
0_0_15778798_3445\Main.java:51: 错误: 需要class, interface或enum
        }
        ^
0_0_15778798_3445\Main.java:53: 错误: 需要class, interface或enum
        sort(y+1,y+n+1);
        ^
0_0_15778798_3445\Main.java:54: 错误: 需要class, interface或enum
        for (int i=1;i<=n;i++)
        ^
0_0_15778798_3445\Main.java:54: 错误: 需要class, interface或enum
        for (int i=1;i<=n;i++)
                     ^
0_0_15778798_3445\Main.java:54: 错误: 需要class, interface或enum
        for (int i=1;i<=n;i++)
                          ^
0_0_15778798_3445\Main.java:57: 错误: 需要class, interface或enum
            sumy[i]=sumy[i-1]+y[i];
            ^
0_0_15778798_3445\Main.java:58: 错误: 需要class, interface或enum
        }
        ^
0_0_15778798_3445\Main.java:60: 错误: 需要class, interface或enum
        for (int i=1;i<=n;i++)
        ^
0_0_15778798_3445\Main.java:60: 错误: 需要class, interface或enum
        for (int i=1;i<=n;i++)
                     ^
0_0_15778798_3445\Main.java:60: 错误: 需要class, interface或enum
        for (int i=1;i<=n;i++)
                          ^
0_0_15778798_3445\Main.java:63: 错误: 需要class, interface或enum
            int idy=find(y,a[i].y);
            ^
0_0_15778798_3445\Main.java:64: 错误: 需要class, interface或enum
            tmp=0;
            ^
0_0_15778798_3445\Main.java:65: 错误: 需要class, interface或enum
            tmp+=(1LL*x[idx]*(idx-1)-sumx[idx-1]) + (sumx[n]-sumx[idx]-1LL*x[idx]*(n-idx));
            ^
0_0_15778798_3445\Main.java:66: 错误: 需要class, interface或enum
            tmp+=(1LL*y[idy]*(idy-1)-sumy[idy-1]) + (sumy[n]-sumy[idy]-1LL*y[idy]*(n-idy));
            ^
0_0_15778798_3445\Main.java:67: 错误: 需要class, interface或enum
            if (tmp<ans) ans=tmp;
            ^
0_0_15778798_3445\Main.java:68: 错误: 需要class, interface或enum
        }
        ^
0_0_15778798_3445\Main.java:70: 错误: 需要class, interface或enum
    }
    ^
0_0_15778798_3445\Main.java:72: 错误: 需要class, interface或enum
}
^
50 个错误


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 08:43:47, Gzip enabled