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_22096860_3848.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_22096860_3848.cpp:10:8: error: redeclaration of 'int& note::nbsp'
     int x,y,id;
        ^
0_0_22096860_3848.cpp:10:2: note: previous declaration 'int& note::nbsp'
     int x,y,id;
  ^
0_0_22096860_3848.cpp:10:14: error: redeclaration of 'int& note::nbsp'
     int x,y,id;
              ^
0_0_22096860_3848.cpp:10:2: note: previous declaration 'int& note::nbsp'
     int x,y,id;
  ^
0_0_22096860_3848.cpp:10:20: error: redeclaration of 'int& note::nbsp'
     int x,y,id;
                    ^
0_0_22096860_3848.cpp:10:2: note: previous declaration 'int& note::nbsp'
     int x,y,id;
  ^
0_0_22096860_3848.cpp:11:9: error: use of deleted function 'note::note()'
 } a[maxn];
         ^
0_0_22096860_3848.cpp:8:8: note: 'note::note()' is implicitly deleted because the default definition would be ill-formed:
 struct note
        ^
0_0_22096860_3848.cpp:8:8: error: uninitialized reference member in 'struct note'
0_0_22096860_3848.cpp:10:2: note: 'int& note::nbsp' should be initialized
     int x,y,id;
  ^
0_0_22096860_3848.cpp:14:6: error: expected constructor, destructor, or type conversion before ';' token
  
      ^
0_0_22096860_3848.cpp: In function 'bool cmp1(note, note)':
0_0_22096860_3848.cpp:17:2: error: 'nbsp' was not declared in this scope
     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_22096860_3848.cpp:17:41: error: expected primary-expression before '<=' token
     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_22096860_3848.cpp: At global scope:
0_0_22096860_3848.cpp:17:54: error: expected unqualified-id before '=' token
     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_22096860_3848.cpp:17:60: error: expected unqualified-id before '=' token
     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_22096860_3848.cpp:17:96: error: expected unqualified-id before '=' token
     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>
                                                                                                ^


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:40:59, Gzip enabled