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_25386486_3788.cpp:89:2: error: stray '#' in program
 }#include <stdio.h>
  ^
0_0_25386486_3788.cpp:89:3: error: 'include' does not name a type
 }#include <stdio.h>
   ^
0_0_25386486_3788.cpp:112:11: error: redefinition of 'const int MAXN'
 const int MAXN = 1e5 + 10;
           ^
0_0_25386486_3788.cpp:24:11: note: 'const int MAXN' previously defined here
 const int MAXN = 1e5 + 10;
           ^
0_0_25386486_3788.cpp:113:11: error: redefinition of 'const int MAXM'
 const int MAXM = 2e7 + 10;
           ^
0_0_25386486_3788.cpp:25:11: note: 'const int MAXM' previously defined here
 const int MAXM = 2e7 + 10;
           ^
0_0_25386486_3788.cpp:115:5: error: redefinition of 'int lnum'
 int lnum,rnum,l,r,lnum2,rnum2,n;
     ^
0_0_25386486_3788.cpp:27:5: note: 'int lnum' previously declared here
 int lnum,rnum,l,r,lnum2,rnum2,n;
     ^
0_0_25386486_3788.cpp:115:10: error: redefinition of 'int rnum'
 int lnum,rnum,l,r,lnum2,rnum2,n;
          ^
0_0_25386486_3788.cpp:27:10: note: 'int rnum' previously declared here
 int lnum,rnum,l,r,lnum2,rnum2,n;
          ^
0_0_25386486_3788.cpp:115:15: error: redefinition of 'int l'
 int lnum,rnum,l,r,lnum2,rnum2,n;
               ^
0_0_25386486_3788.cpp:27:15: note: 'int l' previously declared here
 int lnum,rnum,l,r,lnum2,rnum2,n;
               ^
0_0_25386486_3788.cpp:115:17: error: redefinition of 'int r'
 int lnum,rnum,l,r,lnum2,rnum2,n;
                 ^
0_0_25386486_3788.cpp:27:17: note: 'int r' previously declared here
 int lnum,rnum,l,r,lnum2,rnum2,n;
                 ^
0_0_25386486_3788.cpp:115:19: error: redefinition of 'int lnum2'
 int lnum,rnum,l,r,lnum2,rnum2,n;
                   ^
0_0_25386486_3788.cpp:27:19: note: 'int lnum2' previously declared here
 int lnum,rnum,l,r,lnum2,rnum2,n;
                   ^
0_0_25386486_3788.cpp:115:25: error: redefinition of 'int rnum2'
 int lnum,rnum,l,r,lnum2,rnum2,n;
                         ^
0_0_25386486_3788.cpp:27:25: note: 'int rnum2' previously declared here
 int lnum,rnum,l,r,lnum2,rnum2,n;
                         ^
0_0_25386486_3788.cpp:115:31: error: redefinition of 'int n'
 int lnum,rnum,l,r,lnum2,rnum2,n;
                               ^
0_0_25386486_3788.cpp:27:31: note: 'int n' previously declared here
 int lnum,rnum,l,r,lnum2,rnum2,n;
                               ^
0_0_25386486_3788.cpp:116:14: error: redefinition of 'char str [20000010]'
 char str[MAXM],now[MAXN],now2[MAXN];
              ^
0_0_25386486_3788.cpp:28:6: note: 'char str [20000010]' previously declared here
 char str[MAXM],now[MAXN],now2[MAXN];
      ^
0_0_25386486_3788.cpp:116:24: error: redefinition of 'char now [100010]'
 char str[MAXM],now[MAXN],now2[MAXN];
                        ^
0_0_25386486_3788.cpp:28:16: note: 'char now [100010]' previously declared here
 char str[MAXM],now[MAXN],now2[MAXN];
                ^
0_0_25386486_3788.cpp:116:35: error: redefinition of 'char now2 [100010]'
 char str[MAXM],now[MAXN],now2[MAXN];
                                   ^
0_0_25386486_3788.cpp:28:26: note: 'char now2 [100010]' previously declared here
 char str[MAXM],now[MAXN],now2[MAXN];
                          ^
0_0_25386486_3788.cpp:117:5: error: redefinition of 'int t'
 int t,ans,len,sum,len2;
     ^
0_0_25386486_3788.cpp:29:5: note: 'int t' previously declared here
 int t,ans,len,sum,len2;
     ^
0_0_25386486_3788.cpp:117:7: error: redefinition of 'int ans'
 int t,ans,len,sum,len2;
       ^
0_0_25386486_3788.cpp:29:7: note: 'int ans' previously declared here
 int t,ans,len,sum,len2;
       ^
0_0_25386486_3788.cpp:117:11: error: redefinition of 'int len'
 int t,ans,len,sum,len2;
           ^
0_0_25386486_3788.cpp:29:11: note: 'int len' previously declared here
 int t,ans,len,sum,len2;
           ^
0_0_25386486_3788.cpp:117:15: error: redefinition of 'int sum'
 int t,ans,len,sum,len2;
               ^
0_0_25386486_3788.cpp:29:15: note: 'int sum' previously declared here
 int t,ans,len,sum,len2;
               ^
0_0_25386486_3788.cpp:117:19: error: redefinition of 'int len2'
 int t,ans,len,sum,len2;
                   ^
0_0_25386486_3788.cpp:29:19: note: 'int len2' previously declared here
 int t,ans,len,sum,len2;
                   ^
0_0_25386486_3788.cpp: In function 'void putLeft()':
0_0_25386486_3788.cpp:119:6: error: redefinition of 'void putLeft()'
 void putLeft(){
      ^
0_0_25386486_3788.cpp:31:6: note: 'void putLeft()' previously defined here
 void putLeft(){
      ^
0_0_25386486_3788.cpp: In function 'void putRight()':
0_0_25386486_3788.cpp:133:6: error: redefinition of 'void putRight()'
 void putRight(){
      ^
0_0_25386486_3788.cpp:45:6: note: 'void putRight()' previously defined here
 void putRight(){
      ^
0_0_25386486_3788.cpp: In function 'int main()':
0_0_25386486_3788.cpp:147:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_25386486_3788.cpp:59: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-23 08:11:31, Gzip enabled