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_25990825_17540.cpp:9:9: error: 'll' does not name a type
 typedef ll long long
         ^
0_0_25990825_17540.cpp:11:7: error: 'll' does not name a type
 const ll INF=1e18;
       ^
0_0_25990825_17540.cpp:16:5: error: 'll' does not name a type
     ll x[3];
     ^
0_0_25990825_17540.cpp: In function 'bool cmp(Point, Point)':
0_0_25990825_17540.cpp:21:14: error: 'struct Point' has no member named 'x'
     return a.x[cur]<b.x[cur];
              ^
0_0_25990825_17540.cpp:21:23: error: 'struct Point' has no member named 'x'
     return a.x[cur]<b.x[cur];
                       ^
0_0_25990825_17540.cpp: In function 'void build(int, int, int)':
0_0_25990825_17540.cpp:33:36: error: 'nth_element' was not declared in this scope
     nth_element(p+l,p+mid,p+r+1,cmp);///将p+mid放到他应在的位置左边的都小于他右边的都大于他
                                    ^
0_0_25990825_17540.cpp:33:36: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_25990825_17540.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4640:5: note:   'std::nth_element'
     nth_element(_RandomAccessIterator __first, _RandomAccessIterator __nth,
     ^
0_0_25990825_17540.cpp: At global scope:
0_0_25990825_17540.cpp:37:1: error: 'll' does not name a type
 ll dis(Point x,Point y)///两点之间的距离
 ^
0_0_25990825_17540.cpp:46:1: error: 'll' does not name a type
 ll find(Point x,int l,int r,int depth )
 ^
0_0_25990825_17540.cpp: In function 'int main()':
0_0_25990825_17540.cpp:80:39: error: 'struct Point' has no member named 'x'
                 scanf("%I64d",&ori[i].x[j]);
                                       ^
0_0_25990825_17540.cpp:85:49: error: 'find' was not declared in this scope
             printf("%I64d\n",find(ori[i],0,N-1,0));
                                                 ^
0_0_25990825_17540.cpp:85:49: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_25990825_17540.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:3770:5: note:   'std::find'
     find(_InputIterator __first, _InputIterator __last,
     ^


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-25 18:54:45, Gzip enabled