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_14952461_9573.cpp:146:15: error: redefinition of 'int ans [100010]'
 int ans[100010];
               ^
0_0_14952461_9573.cpp:5:5: note: 'int ans [100010]' previously declared here
 int ans[100010];
     ^
0_0_14952461_9573.cpp:147:17: error: redefinition of 'int situp [100010]'
 int situp[100010];
                 ^
0_0_14952461_9573.cpp:6:5: note: 'int situp [100010]' previously declared here
 int situp[100010];
     ^
0_0_14952461_9573.cpp:148:19: error: redefinition of 'int sitdonw [100010]'
 int sitdonw[100010];
                   ^
0_0_14952461_9573.cpp:7:5: note: 'int sitdonw [100010]' previously declared here
 int sitdonw[100010];
     ^
0_0_14952461_9573.cpp:149:14: error: redefinition of 'std::map<int, int> mp1'
 map <int,int>mp1;
              ^
0_0_14952461_9573.cpp:8:14: note: 'std::map<int, int> mp1' previously declared here
 map <int,int>mp1;
              ^
0_0_14952461_9573.cpp:150:5: error: redefinition of 'int len'
 int len;
     ^
0_0_14952461_9573.cpp:9:5: note: 'int len' previously declared here
 int len;
     ^
0_0_14952461_9573.cpp:151:15: error: redefinition of 'int arr [100010]'
 int arr[100010];
               ^
0_0_14952461_9573.cpp:10:5: note: 'int arr [100010]' previously declared here
 int arr[100010];
     ^
0_0_14952461_9573.cpp: In function 'int LIS(int)':
0_0_14952461_9573.cpp:152:5: error: redefinition of 'int LIS(int)'
 int LIS(int n)
     ^
0_0_14952461_9573.cpp:11:5: note: 'int LIS(int)' previously defined here
 int LIS(int n)
     ^
0_0_14952461_9573.cpp: In function 'int LISD(int)':
0_0_14952461_9573.cpp:174:5: error: redefinition of 'int LISD(int)'
 int LISD(int n)
     ^
0_0_14952461_9573.cpp:33:5: note: 'int LISD(int)' previously defined here
 int LISD(int n)
     ^
0_0_14952461_9573.cpp: At global scope:
0_0_14952461_9573.cpp:200:14: error: redefinition of 'int mp [100010]'
 int mp[100010];
              ^
0_0_14952461_9573.cpp:59:5: note: 'int mp [100010]' previously declared here
 int mp[100010];
     ^
0_0_14952461_9573.cpp:201:8: error: redefinition of 'struct tree'
 struct tree
        ^
0_0_14952461_9573.cpp:60:8: error: previous definition of 'struct tree'
 struct tree
        ^
0_0_14952461_9573.cpp:205:12: error: invalid type in declaration before ';' token
 }tr[400010];
            ^
0_0_14952461_9573.cpp:205:12: error: conflicting declaration 'int tr [400010]'
0_0_14952461_9573.cpp:64:2: note: previous declaration as 'tree tr [400010]'
 }tr[400010];
  ^
0_0_14952461_9573.cpp: In function 'void build(int, int, int)':
0_0_14952461_9573.cpp:206:6: error: redefinition of 'void build(int, int, int)'
 void build(int l,int r,int i)
      ^
0_0_14952461_9573.cpp:65:6: note: 'void build(int, int, int)' previously defined here
 void build(int l,int r,int i)
      ^
0_0_14952461_9573.cpp: In function 'int quer(int, int, int)':
0_0_14952461_9573.cpp:217:5: error: redefinition of 'int quer(int, int, int)'
 int quer(int l,int r,int i)
     ^
0_0_14952461_9573.cpp:76:5: note: 'int quer(int, int, int)' previously defined here
 int quer(int l,int r,int i)
     ^
0_0_14952461_9573.cpp: In function 'void updata(int, int, int)':
0_0_14952461_9573.cpp:230:6: error: redefinition of 'void updata(int, int, int)'
 void updata(int t,int q,int i)
      ^
0_0_14952461_9573.cpp:89:6: note: 'void updata(int, int, int)' previously defined here
 void updata(int t,int q,int i)
      ^
0_0_14952461_9573.cpp: In function 'int main()':
0_0_14952461_9573.cpp:243:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_14952461_9573.cpp:102:5: note: 'int main()' previously defined here
 int main()
     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001001(s) query 1, Server time : 2025-02-17 00:20:50, Gzip enabled