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_39723018_7781.cpp:85:11: error: redefinition of 'const int N'
   85 | const int N = 1E5;
      |           ^
0_0_39723018_7781.cpp:4:11: note: 'const int N' previously defined here
    4 | const int N = 1E5;
      |           ^
0_0_39723018_7781.cpp:87:5: error: redefinition of 'int n'
   87 | int n,m,a[N+10],_size[N+10];
      |     ^
0_0_39723018_7781.cpp:6:5: note: 'int n' previously declared here
    6 | int n,m,a[N+10],_size[N+10];
      |     ^
0_0_39723018_7781.cpp:87:7: error: redefinition of 'int m'
   87 | int n,m,a[N+10],_size[N+10];
      |       ^
0_0_39723018_7781.cpp:6:7: note: 'int m' previously declared here
    6 | int n,m,a[N+10],_size[N+10];
      |       ^
0_0_39723018_7781.cpp:87:9: error: redefinition of 'int a [100010]'
   87 | int n,m,a[N+10],_size[N+10];
      |         ^
0_0_39723018_7781.cpp:6:9: note: 'int a [100010]' previously declared here
    6 | int n,m,a[N+10],_size[N+10];
      |         ^
0_0_39723018_7781.cpp:87:17: error: redefinition of 'int _size [100010]'
   87 | int n,m,a[N+10],_size[N+10];
      |                 ^~~~~
0_0_39723018_7781.cpp:6:17: note: 'int _size [100010]' previously declared here
    6 | int n,m,a[N+10],_size[N+10];
      |                 ^~~~~
0_0_39723018_7781.cpp:88:5: error: redefinition of 'int dl [100010]'
   88 | int dl[N+10],h,t,step[N+10],dp[N+10][20];
      |     ^~
0_0_39723018_7781.cpp:7:5: note: 'int dl [100010]' previously declared here
    7 | int dl[N+10],h,t,step[N+10],dp[N+10][20];
      |     ^~
0_0_39723018_7781.cpp:88:14: error: redefinition of 'int h'
   88 | int dl[N+10],h,t,step[N+10],dp[N+10][20];
      |              ^
0_0_39723018_7781.cpp:7:14: note: 'int h' previously declared here
    7 | int dl[N+10],h,t,step[N+10],dp[N+10][20];
      |              ^
0_0_39723018_7781.cpp:88:16: error: redefinition of 'int t'
   88 | int dl[N+10],h,t,step[N+10],dp[N+10][20];
      |                ^
0_0_39723018_7781.cpp:7:16: note: 'int t' previously declared here
    7 | int dl[N+10],h,t,step[N+10],dp[N+10][20];
      |                ^
0_0_39723018_7781.cpp:88:18: error: redefinition of 'int step [100010]'
   88 | int dl[N+10],h,t,step[N+10],dp[N+10][20];
      |                  ^~~~
0_0_39723018_7781.cpp:7:18: note: 'int step [100010]' previously declared here
    7 | int dl[N+10],h,t,step[N+10],dp[N+10][20];
      |                  ^~~~
0_0_39723018_7781.cpp:88:29: error: redefinition of 'int dp [100010][20]'
   88 | int dl[N+10],h,t,step[N+10],dp[N+10][20];
      |                             ^~
0_0_39723018_7781.cpp:7:29: note: 'int dp [100010][20]' previously declared here
    7 | int dl[N+10],h,t,step[N+10],dp[N+10][20];
      |                             ^~
0_0_39723018_7781.cpp:90:5: error: redefinition of 'int ma(int, int)'
   90 | int ma(int i,int j){
      |     ^~
0_0_39723018_7781.cpp:9:5: note: 'int ma(int, int)' previously defined here
    9 | int ma(int i,int j){
      |     ^~
0_0_39723018_7781.cpp:95:5: error: redefinition of 'int get_ma(int, int)'
   95 | int get_ma(int l,int r){
      |     ^~~~~~
0_0_39723018_7781.cpp:14:5: note: 'int get_ma(int, int)' previously defined here
   14 | int get_ma(int l,int r){
      |     ^~~~~~
0_0_39723018_7781.cpp:101:5: error: redefinition of 'int get_first_bigger(int, int)'
  101 | int get_first_bigger(int q,int L){
      |     ^~~~~~~~~~~~~~~~
0_0_39723018_7781.cpp:20:5: note: 'int get_first_bigger(int, int)' previously defined here
   20 | int get_first_bigger(int q,int L){
      |     ^~~~~~~~~~~~~~~~
0_0_39723018_7781.cpp:113:5: error: redefinition of 'int main()'
  113 | int main(){
      |     ^~~~
0_0_39723018_7781.cpp:32:5: note: 'int main()' previously defined here
   32 | 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-29 18:02:58, Gzip enabled