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_22096868_27935\Main.java:1: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_22096868_27935\Main.java:1: 错误: 需要class, interface或enum
#include <stdio.h>
         ^
0_0_22096868_27935\Main.java:2: 错误: 非法字符: '#'
#include <string.h>
^
0_0_22096868_27935\Main.java:3: 错误: 非法字符: '#'
#include 
^
0_0_22096868_27935\Main.java:4: 错误: 非法字符: '#'
#include <iostream>
^
0_0_22096868_27935\Main.java:6: 错误: 需要class, interface或enum
typedef long long LL;
^
0_0_22096868_27935\Main.java:7: 错误: 需要class, interface或enum
const int maxn=100005;
^
0_0_22096868_27935\Main.java:8: 错误: 需要class, interface或enum
struct note
^
0_0_22096868_27935\Main.java:10: 错误: 需要class, interface或enum
    int x,y,id;
      ^
0_0_22096868_27935\Main.java:10: 错误: 需要class, interface或enum
    int x,y,id;
            ^
0_0_22096868_27935\Main.java:10: 错误: 需要class, interface或enum
    int x,y,id;
                  ^
0_0_22096868_27935\Main.java:10: 错误: 需要class, interface或enum
    int x,y,id;
                        ^
0_0_22096868_27935\Main.java:11: 错误: 需要class, interface或enum
} a[maxn];
^
0_0_22096868_27935\Main.java:12: 错误: 需要class, interface或enum
int x[maxn],y[maxn],n;
^
0_0_22096868_27935\Main.java:13: 错误: 需要class, interface或enum
LL numx[maxn],numy[maxn];
^
0_0_22096868_27935\Main.java:14: 错误: 需要class, interface或enum
 
^
0_0_22096868_27935\Main.java:15: 错误: 需要class, interface或enum
bool cmp1(note a,note b)
^
0_0_22096868_27935\Main.java:17: 错误: 需要class, interface或enum
    return a.x<b.x; <="" pre="" }="" 0;="" return="" printf("%i64d\n",ans);="" ans="0;" k++)="" k<="n;" k="2;" for(int="" numy[j]="(LL)y[j]*(2*i-n)+sumy-2*ans;" j="a[i].id;" int="" ans+="a[i].x;" {="" i++)="" i<="n;" i="1;" sort(a+1,a+1+n,cmp2);="" numx[j]="(LL)x[j]*(2*i-n)+sumx-2*ans;" ll="" sort(a+1,a+n+1,cmp1);="" sumy+="y[i];" sumx+="x[i];" a[i].id="i;" a[i].y="y[i];" a[i].x="x[i];" scanf("%d%d",&x[i],&y[i]);="" sumx="0,sumy=0;" scanf("%d",&n);="" while(t--)="" scanf("%d",&t);="" t;="" main()="" a.y<b.y;="" b)="" a,note="" cmp2(note="" bool=""><br>
      ^
0_0_22096868_27935\Main.java:17: 错误: 需要class, interface或enum
    return a.x<b.x; <="" pre="" }="" 0;="" return="" printf("%i64d\n",ans);="" ans="0;" k++)="" k<="n;" k="2;" for(int="" numy[j]="(LL)y[j]*(2*i-n)+sumy-2*ans;" j="a[i].id;" int="" ans+="a[i].x;" {="" i++)="" i<="n;" i="1;" sort(a+1,a+1+n,cmp2);="" numx[j]="(LL)x[j]*(2*i-n)+sumx-2*ans;" ll="" sort(a+1,a+n+1,cmp1);="" sumy+="y[i];" sumx+="x[i];" a[i].id="i;" a[i].y="y[i];" a[i].x="x[i];" scanf("%d%d",&x[i],&y[i]);="" sumx="0,sumy=0;" scanf("%d",&n);="" while(t--)="" scanf("%d",&t);="" t;="" main()="" a.y<b.y;="" b)="" a,note="" cmp2(note="" bool=""><br>
            ^
0_0_22096868_27935\Main.java:17: 错误: 需要class, interface或enum
    return a.x<b.x; <="" pre="" }="" 0;="" return="" printf("%i64d\n",ans);="" ans="0;" k++)="" k<="n;" k="2;" for(int="" numy[j]="(LL)y[j]*(2*i-n)+sumy-2*ans;" j="a[i].id;" int="" ans+="a[i].x;" {="" i++)="" i<="n;" i="1;" sort(a+1,a+1+n,cmp2);="" numx[j]="(LL)x[j]*(2*i-n)+sumx-2*ans;" ll="" sort(a+1,a+n+1,cmp1);="" sumy+="y[i];" sumx+="x[i];" a[i].id="i;" a[i].y="y[i];" a[i].x="x[i];" scanf("%d%d",&x[i],&y[i]);="" sumx="0,sumy=0;" scanf("%d",&n);="" while(t--)="" scanf("%d",&t);="" t;="" main()="" a.y<b.y;="" b)="" a,note="" cmp2(note="" bool=""><br>
                  ^
0_0_22096868_27935\Main.java:17: 错误: 需要class, interface或enum
    return a.x<b.x; <="" pre="" }="" 0;="" return="" printf("%i64d\n",ans);="" ans="0;" k++)="" k<="n;" k="2;" for(int="" numy[j]="(LL)y[j]*(2*i-n)+sumy-2*ans;" j="a[i].id;" int="" ans+="a[i].x;" {="" i++)="" i<="n;" i="1;" sort(a+1,a+1+n,cmp2);="" numx[j]="(LL)x[j]*(2*i-n)+sumx-2*ans;" ll="" sort(a+1,a+n+1,cmp1);="" sumy+="y[i];" sumx+="x[i];" a[i].id="i;" a[i].y="y[i];" a[i].x="x[i];" scanf("%d%d",&x[i],&y[i]);="" sumx="0,sumy=0;" scanf("%d",&n);="" while(t--)="" scanf("%d",&t);="" t;="" main()="" a.y<b.y;="" b)="" a,note="" cmp2(note="" bool=""><br>
                        ^
0_0_22096868_27935\Main.java:17: 错误: 需要class, interface或enum
    return a.x<b.x; <="" pre="" }="" 0;="" return="" printf("%i64d\n",ans);="" ans="0;" k++)="" k<="n;" k="2;" for(int="" numy[j]="(LL)y[j]*(2*i-n)+sumy-2*ans;" j="a[i].id;" int="" ans+="a[i].x;" {="" i++)="" i<="n;" i="1;" sort(a+1,a+1+n,cmp2);="" numx[j]="(LL)x[j]*(2*i-n)+sumx-2*ans;" ll="" sort(a+1,a+n+1,cmp1);="" sumy+="y[i];" sumx+="x[i];" a[i].id="i;" a[i].y="y[i];" a[i].x="x[i];" scanf("%d%d",&x[i],&y[i]);="" sumx="0,sumy=0;" scanf("%d",&n);="" while(t--)="" scanf("%d",&t);="" t;="" main()="" a.y<b.y;="" b)="" a,note="" cmp2(note="" bool=""><br>
                                        ^
0_0_22096868_27935\Main.java:17: 错误: 需要class, interface或enum
    return a.x<b.x; <="" pre="" }="" 0;="" return="" printf("%i64d\n",ans);="" ans="0;" k++)="" k<="n;" k="2;" for(int="" numy[j]="(LL)y[j]*(2*i-n)+sumy-2*ans;" j="a[i].id;" int="" ans+="a[i].x;" {="" i++)="" i<="n;" i="1;" sort(a+1,a+1+n,cmp2);="" numx[j]="(LL)x[j]*(2*i-n)+sumx-2*ans;" ll="" sort(a+1,a+n+1,cmp1);="" sumy+="y[i];" sumx+="x[i];" a[i].id="i;" a[i].y="y[i];" a[i].x="x[i];" scanf("%d%d",&x[i],&y[i]);="" sumx="0,sumy=0;" scanf("%d",&n);="" while(t--)="" scanf("%d",&t);="" t;="" main()="" a.y<b.y;="" b)="" a,note="" cmp2(note="" bool=""><br>
                                                           ^
0_0_22096868_27935\Main.java:17: 错误: 需要class, interface或enum
    return a.x<b.x; <="" pre="" }="" 0;="" return="" printf("%i64d\n",ans);="" ans="0;" k++)="" k<="n;" k="2;" for(int="" numy[j]="(LL)y[j]*(2*i-n)+sumy-2*ans;" j="a[i].id;" int="" ans+="a[i].x;" {="" i++)="" i<="n;" i="1;" sort(a+1,a+1+n,cmp2);="" numx[j]="(LL)x[j]*(2*i-n)+sumx-2*ans;" ll="" sort(a+1,a+n+1,cmp1);="" sumy+="y[i];" sumx+="x[i];" a[i].id="i;" a[i].y="y[i];" a[i].x="x[i];" scanf("%d%d",&x[i],&y[i]);="" sumx="0,sumy=0;" scanf("%d",&n);="" while(t--)="" scanf("%d",&t);="" t;="" main()="" a.y<b.y;="" b)="" a,note="" cmp2(note="" bool=""><br>
                                                                                               ^
0_0_22096868_27935\Main.java:17: 错误: 需要class, interface或enum
    return a.x<b.x; <="" pre="" }="" 0;="" return="" printf("%i64d\n",ans);="" ans="0;" k++)="" k<="n;" k="2;" for(int="" numy[j]="(LL)y[j]*(2*i-n)+sumy-2*ans;" j="a[i].id;" int="" ans+="a[i].x;" {="" i++)="" i<="n;" i="1;" sort(a+1,a+1+n,cmp2);="" numx[j]="(LL)x[j]*(2*i-n)+sumx-2*ans;" ll="" sort(a+1,a+n+1,cmp1);="" sumy+="y[i];" sumx+="x[i];" a[i].id="i;" a[i].y="y[i];" a[i].x="x[i];" scanf("%d%d",&x[i],&y[i]);="" sumx="0,sumy=0;" scanf("%d",&n);="" while(t--)="" scanf("%d",&t);="" t;="" main()="" a.y<b.y;="" b)="" a,note="" cmp2(note="" bool=""><br>
                                                                                                                                                                                                                                                                         ^
0_0_22096868_27935\Main.java:17: 错误: 需要class, interface或enum
    return a.x<b.x; <="" pre="" }="" 0;="" return="" printf("%i64d\n",ans);="" ans="0;" k++)="" k<="n;" k="2;" for(int="" numy[j]="(LL)y[j]*(2*i-n)+sumy-2*ans;" j="a[i].id;" int="" ans+="a[i].x;" {="" i++)="" i<="n;" i="1;" sort(a+1,a+1+n,cmp2);="" numx[j]="(LL)x[j]*(2*i-n)+sumx-2*ans;" ll="" sort(a+1,a+n+1,cmp1);="" sumy+="y[i];" sumx+="x[i];" a[i].id="i;" a[i].y="y[i];" a[i].x="x[i];" scanf("%d%d",&x[i],&y[i]);="" sumx="0,sumy=0;" scanf("%d",&n);="" while(t--)="" scanf("%d",&t);="" t;="" main()="" a.y<b.y;="" b)="" a,note="" cmp2(note="" bool=""><br>
                                                                                                                                                                                                                                                                                                                                               ^
0_0_22096868_27935\Main.java:17: 错误: 需要class, interface或enum
    return a.x<b.x; <="" pre="" }="" 0;="" return="" printf("%i64d\n",ans);="" ans="0;" k++)="" k<="n;" k="2;" for(int="" numy[j]="(LL)y[j]*(2*i-n)+sumy-2*ans;" j="a[i].id;" int="" ans+="a[i].x;" {="" i++)="" i<="n;" i="1;" sort(a+1,a+1+n,cmp2);="" numx[j]="(LL)x[j]*(2*i-n)+sumx-2*ans;" ll="" sort(a+1,a+n+1,cmp1);="" sumy+="y[i];" sumx+="x[i];" a[i].id="i;" a[i].y="y[i];" a[i].x="x[i];" scanf("%d%d",&x[i],&y[i]);="" sumx="0,sumy=0;" scanf("%d",&n);="" while(t--)="" scanf("%d",&t);="" t;="" main()="" a.y<b.y;="" b)="" a,note="" cmp2(note="" bool=""><br>
                                                                                                                                                                                                                                                                                                                                                                                                                                                    ^
0_0_22096868_27935\Main.java:17: 错误: 需要class, interface或enum
    return a.x<b.x; <="" pre="" }="" 0;="" return="" printf("%i64d\n",ans);="" ans="0;" k++)="" k<="n;" k="2;" for(int="" numy[j]="(LL)y[j]*(2*i-n)+sumy-2*ans;" j="a[i].id;" int="" ans+="a[i].x;" {="" i++)="" i<="n;" i="1;" sort(a+1,a+1+n,cmp2);="" numx[j]="(LL)x[j]*(2*i-n)+sumx-2*ans;" ll="" sort(a+1,a+n+1,cmp1);="" sumy+="y[i];" sumx+="x[i];" a[i].id="i;" a[i].y="y[i];" a[i].x="x[i];" scanf("%d%d",&x[i],&y[i]);="" sumx="0,sumy=0;" scanf("%d",&n);="" while(t--)="" scanf("%d",&t);="" t;="" main()="" a.y<b.y;="" b)="" a,note="" cmp2(note


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-22 17:26:58, Gzip enabled