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_16405420_27639.cpp:124:11: error: redefinition of 'const int N'
 const int N = 111111;
           ^
0_0_16405420_27639.cpp:11:11: note: 'const int N' previously defined here
 const int N = 111111;
           ^
0_0_16405420_27639.cpp:125:8: error: redefinition of 'struct Point'
 struct Point {
        ^
0_0_16405420_27639.cpp:12:8: error: previous definition of 'struct Point'
 struct Point {
        ^
0_0_16405420_27639.cpp:127:7: error: invalid type in declaration before ',' token
 } p[N], ori[N];
       ^
0_0_16405420_27639.cpp:127:7: error: conflicting declaration 'int p [111111]'
0_0_16405420_27639.cpp:14:3: note: previous declaration as 'Point p [111111]'
 } p[N], ori[N];
   ^
0_0_16405420_27639.cpp:127:14: error: conflicting declaration 'int ori [111111]'
 } p[N], ori[N];
              ^
0_0_16405420_27639.cpp:14:9: note: previous declaration as 'Point ori [111111]'
 } p[N], ori[N];
         ^
0_0_16405420_27639.cpp:128:13: error: redefinition of 'int split [20]'
 int split[20], cur, dim;
             ^
0_0_16405420_27639.cpp:15:5: note: 'int split [20]' previously declared here
 int split[20], cur, dim;
     ^
0_0_16405420_27639.cpp:128:16: error: redefinition of 'int cur'
 int split[20], cur, dim;
                ^
0_0_16405420_27639.cpp:15:16: note: 'int cur' previously declared here
 int split[20], cur, dim;
                ^
0_0_16405420_27639.cpp:128:21: error: redefinition of 'int dim'
 int split[20], cur, dim;
                     ^
0_0_16405420_27639.cpp:15:21: note: 'int dim' previously declared here
 int split[20], cur, dim;
                     ^
0_0_16405420_27639.cpp: In function 'bool cmp(Point, Point)':
0_0_16405420_27639.cpp:130:6: error: redefinition of 'bool cmp(Point, Point)'
 bool cmp(Point a, Point b) {
      ^
0_0_16405420_27639.cpp:17:6: note: 'bool cmp(Point, Point)' previously defined here
 bool cmp(Point a, Point b) {
      ^
0_0_16405420_27639.cpp: At global scope:
0_0_16405420_27639.cpp:137:10: error: redefinition of 'const LL inf'
 const LL inf = 0x7777777777777777ll;
          ^
0_0_16405420_27639.cpp:24:10: note: 'const LL inf' previously defined here
 const LL inf = 0x7777777777777777ll;
          ^
0_0_16405420_27639.cpp: In function 'void build(int, int, int)':
0_0_16405420_27639.cpp:139:6: error: redefinition of 'void build(int, int, int)'
 void build(int l,int r,int depth)
      ^
0_0_16405420_27639.cpp:26:6: note: 'void build(int, int, int)' previously defined here
 void build(int l,int r,int depth)
      ^
0_0_16405420_27639.cpp: At global scope:
0_0_16405420_27639.cpp:151:22: error: redefinition of 'template<class T> T sqr(T)'
 template <class T> T sqr(T x) { return x * x;}
                      ^
0_0_16405420_27639.cpp:38:22: note: 'template<class T> T sqr(T)' previously declared here
 template <class T> T sqr(T x) { return x * x;}
                      ^
0_0_16405420_27639.cpp: In function 'LL dist(Point, Point)':
0_0_16405420_27639.cpp:152:4: error: redefinition of 'LL dist(Point, Point)'
 LL dist(Point a,Point b)
    ^
0_0_16405420_27639.cpp:39:4: note: 'LL dist(Point, Point)' previously defined here
 LL dist(Point a,Point b)
    ^
0_0_16405420_27639.cpp: In function 'LL find(Point, int, int, int)':
0_0_16405420_27639.cpp:159:4: error: redefinition of 'LL find(Point, int, int, int)'
 LL find(Point x, int l, int r, int depth) {
    ^
0_0_16405420_27639.cpp:46:4: note: 'LL find(Point, int, int, int)' previously defined here
 LL find(Point x, int l, int r, int depth) {
    ^
0_0_16405420_27639.cpp: In function 'LL query(Point, int, int, int)':
0_0_16405420_27639.cpp:180:4: error: redefinition of 'LL query(Point, int, int, int)'
 LL query(Point u,int l,int r,int depth)
    ^
0_0_16405420_27639.cpp:67:4: note: 'LL query(Point, int, int, int)' previously defined here
 LL query(Point u,int l,int r,int depth)
    ^
0_0_16405420_27639.cpp: In function 'int main()':
0_0_16405420_27639.cpp:204:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_16405420_27639.cpp:91:5: note: 'int main()' previously defined here
 int main()
     ^


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