0_0_13803801_11057.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13803801_11057.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13803801_11057.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13803801_11057.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13803801_11057.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13803801_11057.cpp:6:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13803801_11057.cpp: In member function 'void Point::Read(int)':
0_0_13803801_11057.cpp:23:25: error: 'scanf' was not declared in this scope
scanf("%lld%lld",&x,&y);
^
0_0_13803801_11057.cpp: In member function 'void KDTree::Maintain(KDTree*)':
0_0_13803801_11057.cpp:46:20: error: 'min' was not declared in this scope
x0 = min(x0,a->x0);
^
0_0_13803801_11057.cpp:47:20: error: 'max' was not declared in this scope
x1 = max(x1,a->x1);
^
0_0_13803801_11057.cpp: In member function 'long long int KDTree::Dis(const Point&)':
0_0_13803801_11057.cpp:53:35: error: 'max' was not declared in this scope
re = max(re,Calc(p,Point(x0,y0)));
^
0_0_13803801_11057.cpp: In function 'KDTree* BuildTree(int, int, int)':
0_0_13803801_11057.cpp:79:49: error: 'nth_element' was not declared in this scope
nth_element(point + l,point + mid,point + r + 1);
^
0_0_13803801_11057.cpp: At global scope:
0_0_13803801_11057.cpp:86:1: error: 'priority_queue' does not name a type
priority_queue q;
^
0_0_13803801_11057.cpp: In function 'void Ask(KDTree*, const Point&)':
0_0_13803801_11057.cpp:92:12: error: 'q' was not declared in this scope
if(temp < q.top()) {
^
0_0_13803801_11057.cpp:101:31: error: 'q' was not declared in this scope
if(a->son[1] != nil && r >= q.top().dis)
^
0_0_13803801_11057.cpp:107:31: error: 'q' was not declared in this scope
if(a->son[0] != nil && l >= q.top().dis)
^
0_0_13803801_11057.cpp: In function 'int main()':
0_0_13803801_11057.cpp:114:2: error: 'cin' was not declared in this scope
cin >> cnt;
^
0_0_13803801_11057.cpp:122:16: error: 'scanf' was not declared in this scope
scanf("%d",&k);
^
0_0_13803801_11057.cpp:123:10: error: 'q' was not declared in this scope
while(!q.empty()) q.pop();
^
0_0_13803801_11057.cpp:124:31: error: 'q' was not declared in this scope
for(int i = 1; i <= k; ++i) q.push(Complex(-INF,0));
^
0_0_13803801_11057.cpp:126:17: error: 'q' was not declared in this scope
printf("%d\n",q.top().id);
^
0_0_13803801_11057.cpp:126:27: error: 'printf' was not declared in this scope
printf("%d\n",q.top().id);
^
|