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_38023530_31426.cpp:190:13: error: redefinition of 'template<class T> void read(T&)'
 inline void read(T &res)
             ^
0_0_38023530_31426.cpp:4:13: note: 'template<class T> void read(T&)' previously declared here
 inline void read(T &res)
             ^
0_0_38023530_31426.cpp:201:13: error: redefinition of 'template<class T> void put(T)'
 inline void put(T x)
             ^
0_0_38023530_31426.cpp:15:13: note: 'template<class T> void put(T)' previously declared here
 inline void put(T x)
             ^
0_0_38023530_31426.cpp:209:11: error: redefinition of 'const int N'
 const int N = 1e5 + 5;
           ^
0_0_38023530_31426.cpp:23:11: note: 'const int N' previously defined here
 const int N = 1e5 + 5;
           ^
0_0_38023530_31426.cpp:210:8: error: redefinition of 'll bx [100005]'
 ll bx[N], by[N], x[N], y[N], w[N];
        ^
0_0_38023530_31426.cpp:24:4: note: 'll bx [100005]' previously declared here
 ll bx[N], by[N], x[N], y[N], w[N];
    ^
0_0_38023530_31426.cpp:210:15: error: redefinition of 'll by [100005]'
 ll bx[N], by[N], x[N], y[N], w[N];
               ^
0_0_38023530_31426.cpp:24:11: note: 'll by [100005]' previously declared here
 ll bx[N], by[N], x[N], y[N], w[N];
           ^
0_0_38023530_31426.cpp:210:21: error: redefinition of 'll x [100005]'
 ll bx[N], by[N], x[N], y[N], w[N];
                     ^
0_0_38023530_31426.cpp:24:18: note: 'll x [100005]' previously declared here
 ll bx[N], by[N], x[N], y[N], w[N];
                  ^
0_0_38023530_31426.cpp:210:27: error: redefinition of 'll y [100005]'
 ll bx[N], by[N], x[N], y[N], w[N];
                           ^
0_0_38023530_31426.cpp:24:24: note: 'll y [100005]' previously declared here
 ll bx[N], by[N], x[N], y[N], w[N];
                        ^
0_0_38023530_31426.cpp:210:33: error: redefinition of 'll w [100005]'
 ll bx[N], by[N], x[N], y[N], w[N];
                                 ^
0_0_38023530_31426.cpp:24:30: note: 'll w [100005]' previously declared here
 ll bx[N], by[N], x[N], y[N], w[N];
                              ^
0_0_38023530_31426.cpp:211:10: error: redefinition of 'll prex [100005]'
 ll prex[N], sufx[N], prey[N], sufy[N];
          ^
0_0_38023530_31426.cpp:25:4: note: 'll prex [100005]' previously declared here
 ll prex[N], sufx[N], prey[N], sufy[N];
    ^
0_0_38023530_31426.cpp:211:19: error: redefinition of 'll sufx [100005]'
 ll prex[N], sufx[N], prey[N], sufy[N];
                   ^
0_0_38023530_31426.cpp:25:13: note: 'll sufx [100005]' previously declared here
 ll prex[N], sufx[N], prey[N], sufy[N];
             ^
0_0_38023530_31426.cpp:211:28: error: redefinition of 'll prey [100005]'
 ll prex[N], sufx[N], prey[N], sufy[N];
                            ^
0_0_38023530_31426.cpp:25:22: note: 'll prey [100005]' previously declared here
 ll prex[N], sufx[N], prey[N], sufy[N];
                      ^
0_0_38023530_31426.cpp:211:37: error: redefinition of 'll sufy [100005]'
 ll prex[N], sufx[N], prey[N], sufy[N];
                                     ^
0_0_38023530_31426.cpp:25:31: note: 'll sufy [100005]' previously declared here
 ll prex[N], sufx[N], prey[N], sufy[N];
                               ^
0_0_38023530_31426.cpp:212:5: error: redefinition of 'int T_data'
 int T_data, n, q, xm, ym;
     ^
0_0_38023530_31426.cpp:26:5: note: 'int T_data' previously declared here
 int T_data, n, q, xm, ym;
     ^
0_0_38023530_31426.cpp:212:13: error: redefinition of 'int n'
 int T_data, n, q, xm, ym;
             ^
0_0_38023530_31426.cpp:26:13: note: 'int n' previously declared here
 int T_data, n, q, xm, ym;
             ^
0_0_38023530_31426.cpp:212:16: error: redefinition of 'int q'
 int T_data, n, q, xm, ym;
                ^
0_0_38023530_31426.cpp:26:16: note: 'int q' previously declared here
 int T_data, n, q, xm, ym;
                ^
0_0_38023530_31426.cpp:212:19: error: redefinition of 'int xm'
 int T_data, n, q, xm, ym;
                   ^
0_0_38023530_31426.cpp:26:19: note: 'int xm' previously declared here
 int T_data, n, q, xm, ym;
                   ^
0_0_38023530_31426.cpp:212:23: error: redefinition of 'int ym'
 int T_data, n, q, xm, ym;
                       ^
0_0_38023530_31426.cpp:26:23: note: 'int ym' previously declared here
 int T_data, n, q, xm, ym;
                       ^
0_0_38023530_31426.cpp:215:10: error: redefinition of 'template<class T> T Max(T, T)'
 inline T Max(T x, T y) {return x > y ? x : y;}
          ^
0_0_38023530_31426.cpp:29:10: note: 'template<class T> T Max(T, T)' previously declared here
 inline T Max(T x, T y) {return x > y ? x : y;}
          ^
0_0_38023530_31426.cpp:217:10: error: redefinition of 'template<class T> T Min(T, T)'
 inline T Min(T x, T y) {return x < y ? x : y;}
          ^
0_0_38023530_31426.cpp:31:10: note: 'template<class T> T Min(T, T)' previously declared here
 inline T Min(T x, T y) {return x < y ? x : y;}
          ^
0_0_38023530_31426.cpp:219:13: error: redefinition of 'template<class T> void CkMax(T&, T)'
 inline void CkMax(T &x, T y) {x < y ? x = y : 0;}
             ^
0_0_38023530_31426.cpp:33:13: note: 'template<class T> void CkMax(T&, T)' previously declared here
 inline void CkMax(T &x, T y) {x < y ? x = y : 0;}
             ^
0_0_38023530_31426.cpp: In function 'int Lower_bound(ll*, int, ll)':
0_0_38023530_31426.cpp:238:12: error: redefinition of 'int Lower_bound(ll*, int, ll)'
 inline int Lower_bound(ll *a, int n, ll x)
            ^
0_0_38023530_31426.cpp:52:12: note: 'int Lower_bound(ll*, int, ll)' previously defined here
 inline int Lower_bound(ll *a, int n, ll x)
            ^
0_0_38023530_31426.cpp: In function 'int Upper_bound(ll*, int, ll)':
0_0_38023530_31426.cpp:252:12: error: redefinition of 'int Upper_bound(ll*, int, ll)'
 inline int Upper_bound(ll *a, int n, ll x)
            ^
0_0_38023530_31426.cpp:66:12: note: 'int Upper_bound(ll*, int, ll)' previously defined here
 inline int Upper_bound(ll *a, int n, ll x)
            ^
0_0_38023530_31426.cpp: In function 'int main()':
0_0_38023530_31426.cpp:266:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_38023530_31426.cpp:80: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-17 12:45:24, Gzip enabled