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_23565752_17717.cpp:94:2: error: stray '#' in program
 }#include<bits/stdc++.h>
  ^
0_0_23565752_17717.cpp:94:3: error: 'include' does not name a type
 }#include<bits/stdc++.h>
   ^
0_0_23565752_17717.cpp:100:5: error: redefinition of 'int n'
 int n,a[N],len,sz,m;
     ^
0_0_23565752_17717.cpp:7:5: note: 'int n' previously declared here
 int n,a[N],len,sz,m;
     ^
0_0_23565752_17717.cpp:100:10: error: redefinition of 'int a [100100]'
 int n,a[N],len,sz,m;
          ^
0_0_23565752_17717.cpp:7:7: note: 'int a [100100]' previously declared here
 int n,a[N],len,sz,m;
       ^
0_0_23565752_17717.cpp:100:12: error: redefinition of 'int len'
 int n,a[N],len,sz,m;
            ^
0_0_23565752_17717.cpp:7:12: note: 'int len' previously declared here
 int n,a[N],len,sz,m;
            ^
0_0_23565752_17717.cpp:100:16: error: redefinition of 'int sz'
 int n,a[N],len,sz,m;
                ^
0_0_23565752_17717.cpp:7:16: note: 'int sz' previously declared here
 int n,a[N],len,sz,m;
                ^
0_0_23565752_17717.cpp:100:19: error: redefinition of 'int m'
 int n,a[N],len,sz,m;
                   ^
0_0_23565752_17717.cpp:7:19: note: 'int m' previously declared here
 int n,a[N],len,sz,m;
                   ^
0_0_23565752_17717.cpp:101:8: error: redefinition of 'int T [2563333]'
 int T[M],lson[M],rson[M],sum[M],p[5],ans;
        ^
0_0_23565752_17717.cpp:8:5: note: 'int T [2563333]' previously declared here
 int T[M],lson[M],rson[M],sum[M],p[5],ans;
     ^
0_0_23565752_17717.cpp:101:16: error: redefinition of 'int lson [2563333]'
 int T[M],lson[M],rson[M],sum[M],p[5],ans;
                ^
0_0_23565752_17717.cpp:8:10: note: 'int lson [2563333]' previously declared here
 int T[M],lson[M],rson[M],sum[M],p[5],ans;
          ^
0_0_23565752_17717.cpp:101:24: error: redefinition of 'int rson [2563333]'
 int T[M],lson[M],rson[M],sum[M],p[5],ans;
                        ^
0_0_23565752_17717.cpp:8:18: note: 'int rson [2563333]' previously declared here
 int T[M],lson[M],rson[M],sum[M],p[5],ans;
                  ^
0_0_23565752_17717.cpp:101:31: error: redefinition of 'int sum [2563333]'
 int T[M],lson[M],rson[M],sum[M],p[5],ans;
                               ^
0_0_23565752_17717.cpp:8:26: note: 'int sum [2563333]' previously declared here
 int T[M],lson[M],rson[M],sum[M],p[5],ans;
                          ^
0_0_23565752_17717.cpp:101:36: error: redefinition of 'int p [5]'
 int T[M],lson[M],rson[M],sum[M],p[5],ans;
                                    ^
0_0_23565752_17717.cpp:8:33: note: 'int p [5]' previously declared here
 int T[M],lson[M],rson[M],sum[M],p[5],ans;
                                 ^
0_0_23565752_17717.cpp:101:38: error: redefinition of 'int ans'
 int T[M],lson[M],rson[M],sum[M],p[5],ans;
                                      ^
0_0_23565752_17717.cpp:8:38: note: 'int ans' previously declared here
 int T[M],lson[M],rson[M],sum[M],p[5],ans;
                                      ^
0_0_23565752_17717.cpp:102:19: error: redefinition of 'std::pair<int, int> use [100100]'
 pair<int,int>use[N];
                   ^
0_0_23565752_17717.cpp:9:14: note: 'std::pair<int, int> use [100100]' previously declared here
 pair<int,int>use[N];
              ^
0_0_23565752_17717.cpp: In function 'void Push_up(int)':
0_0_23565752_17717.cpp:103:6: error: redefinition of 'void Push_up(int)'
 void Push_up(int root){
      ^
0_0_23565752_17717.cpp:10:6: note: 'void Push_up(int)' previously defined here
 void Push_up(int root){
      ^
0_0_23565752_17717.cpp: In function 'int build(int, int)':
0_0_23565752_17717.cpp:107:5: error: redefinition of 'int build(int, int)'
 int build(int l,int r){
     ^
0_0_23565752_17717.cpp:14:5: note: 'int build(int, int)' previously defined here
 int build(int l,int r){
     ^
0_0_23565752_17717.cpp: In function 'int update(int, int, int, int, int)':
0_0_23565752_17717.cpp:116:5: error: redefinition of 'int update(int, int, int, int, int)'
 int update(int rt,int l,int r,int wh,int w){
     ^
0_0_23565752_17717.cpp:23:5: note: 'int update(int, int, int, int, int)' previously defined here
 int update(int rt,int l,int r,int wh,int w){
     ^
0_0_23565752_17717.cpp: In function 'int querysum(int, int, int, int, int)':
0_0_23565752_17717.cpp:130:5: error: redefinition of 'int querysum(int, int, int, int, int)'
 int querysum(int root,int l,int r,int left,int right){
     ^
0_0_23565752_17717.cpp:37:5: note: 'int querysum(int, int, int, int, int)' previously defined here
 int querysum(int root,int l,int r,int left,int right){
     ^
0_0_23565752_17717.cpp: In function 'void debug(int, int, int, int)':
0_0_23565752_17717.cpp:138:6: error: redefinition of 'void debug(int, int, int, int)'
 void debug(int root,int l,int r,int cur){
      ^
0_0_23565752_17717.cpp:45:6: note: 'void debug(int, int, int, int)' previously defined here
 void debug(int root,int l,int r,int cur){
      ^
0_0_23565752_17717.cpp: In function 'int Cal(int, int, int, int, int, int)':
0_0_23565752_17717.cpp:143:5: error: redefinition of 'int Cal(int, int, int, int, int, int)'
 int Cal(int wh,int root,int a,int b,int c,int d){
     ^
0_0_23565752_17717.cpp:50:5: note: 'int Cal(int, int, int, int, int, int)' previously defined here
 int Cal(int wh,int root,int a,int b,int c,int d){
     ^
0_0_23565752_17717.cpp: In function 'int main()':
0_0_23565752_17717.cpp:149:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_23565752_17717.cpp:56: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-12-02 03:45:07, Gzip enabled