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_22612977_30422.cpp:1:8: error: 'N' was not declared in this scope
 int WA[N],WB[N],WV[N],WS[N];  
        ^
0_0_22612977_30422.cpp:1:14: error: 'N' was not declared in this scope
 int WA[N],WB[N],WV[N],WS[N];  
              ^
0_0_22612977_30422.cpp:1:20: error: 'N' was not declared in this scope
 int WA[N],WB[N],WV[N],WS[N];  
                    ^
0_0_22612977_30422.cpp:1:26: error: 'N' was not declared in this scope
 int WA[N],WB[N],WV[N],WS[N];  
                          ^
0_0_22612977_30422.cpp:2:10: error: 'N' was not declared in this scope
 int Rank[N],height[N];  
          ^
0_0_22612977_30422.cpp:2:20: error: 'N' was not declared in this scope
 int Rank[N],height[N];  
                    ^
0_0_22612977_30422.cpp: In function 'void da(char*, int*, int, int)':
0_0_22612977_30422.cpp:9:18: error: 'WA' was not declared in this scope
     int i,j,p,*x=WA,*y=WB,*t;  
                  ^
0_0_22612977_30422.cpp:10:24: error: 'WS' was not declared in this scope
     for(i=0; i<m; i++) WS[i]=0;  
                        ^
0_0_22612977_30422.cpp:11:24: error: 'WS' was not declared in this scope
     for(i=0; i<n; i++) WS[x[i]=r[i]]++;  
                        ^
0_0_22612977_30422.cpp:12:24: error: 'WS' was not declared in this scope
     for(i=1; i<m; i++) WS[i]+=WS[i-1];  
                        ^
0_0_22612977_30422.cpp:13:32: error: 'WS' was not declared in this scope
     for(i=n-1; i>=0; i--) sa[--WS[x[i]]]=i;  
                                ^
0_0_22612977_30422.cpp:16:34: error: 'y' was not declared in this scope
         for(p=0,i=n-j; i<n; i++) y[p++]=i;  
                                  ^
0_0_22612977_30422.cpp:17:41: error: 'y' was not declared in this scope
         for(i=0; i<n; i++) if(sa[i]>=j) y[p++]=sa[i]-j;  
                                         ^
0_0_22612977_30422.cpp:18:28: error: 'WV' was not declared in this scope
         for(i=0; i<n; i++) WV[i]=x[y[i]];  
                            ^
0_0_22612977_30422.cpp:18:36: error: 'y' was not declared in this scope
         for(i=0; i<n; i++) WV[i]=x[y[i]];  
                                    ^
0_0_22612977_30422.cpp:19:28: error: 'WS' was not declared in this scope
         for(i=0; i<m; i++) WS[i]=0;  
                            ^
0_0_22612977_30422.cpp:20:28: error: 'WS' was not declared in this scope
         for(i=0; i<n; i++) WS[WV[i]]++;  
                            ^
0_0_22612977_30422.cpp:20:31: error: 'WV' was not declared in this scope
         for(i=0; i<n; i++) WS[WV[i]]++;  
                               ^
0_0_22612977_30422.cpp:21:28: error: 'WS' was not declared in this scope
         for(i=1; i<m; i++) WS[i]+=WS[i-1];  
                            ^
0_0_22612977_30422.cpp:22:36: error: 'WS' was not declared in this scope
         for(i=n-1; i>=0; i--) sa[--WS[WV[i]]]=y[i];  
                                    ^
0_0_22612977_30422.cpp:22:39: error: 'WV' was not declared in this scope
         for(i=n-1; i>=0; i--) sa[--WS[WV[i]]]=y[i];  
                                       ^
0_0_22612977_30422.cpp:22:47: error: 'y' was not declared in this scope
         for(i=n-1; i>=0; i--) sa[--WS[WV[i]]]=y[i];  
                                               ^
0_0_22612977_30422.cpp:23:13: error: 't' was not declared in this scope
         for(t=x,x=y,y=t,p=1,x[sa[0]]=0,i=1; i<n; i++)  
             ^
0_0_22612977_30422.cpp:23:19: error: 'y' was not declared in this scope
         for(t=x,x=y,y=t,p=1,x[sa[0]]=0,i=1; i<n; i++)  
                   ^
0_0_22612977_30422.cpp: In function 'void calheight(char*, int*, int)':
0_0_22612977_30422.cpp:31:24: error: 'Rank' was not declared in this scope
     for(i=1; i<=n; i++)Rank[sa[i]]=i;  
                        ^
0_0_22612977_30422.cpp:32:19: error: 'height' was not declared in this scope
     for(i=0; i<n; height[Rank[i++]]=k)  
                   ^
0_0_22612977_30422.cpp:32:26: error: 'Rank' was not declared in this scope
     for(i=0; i<n; height[Rank[i++]]=k)  
                          ^


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-06-30 18:57:06, Gzip enabled