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_30572711_15972.cpp: In function 'void da(char*, int)':
0_0_30572711_15972.cpp:13:23: error: 't1' was not declared in this scope
     int i, j, p, *x = t1, *y = t2;
                       ^
0_0_30572711_15972.cpp:14:25: error: 'c' was not declared in this scope
     for(i = 0;i < m;i++)c[i] = 0;
                         ^
0_0_30572711_15972.cpp:15:25: error: 'c' was not declared in this scope
     for(i = 0;i < n;i++)c[x[i] = str[i]]++;
                         ^
0_0_30572711_15972.cpp:16:25: error: 'c' was not declared in this scope
     for(i = 1;i < m;i++)c[i] += c[i-1];
                         ^
0_0_30572711_15972.cpp:17:28: error: 'sa' was not declared in this scope
     for(i = n-1;i >= 0;i--)sa[--c[x[i]]] = i;
                            ^
0_0_30572711_15972.cpp:17:33: error: 'c' was not declared in this scope
     for(i = n-1;i >= 0;i--)sa[--c[x[i]]] = i;
                                 ^
0_0_30572711_15972.cpp:21:33: error: 'y' was not declared in this scope
         for(i = n-j; i < n; i++)y[p++] = i;
                                 ^
0_0_30572711_15972.cpp:22:34: error: 'sa' was not declared in this scope
         for(i = 0; i < n; i++)if(sa[i] >= j)y[p++] = sa[i] - j;
                                  ^
0_0_30572711_15972.cpp:22:45: 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_30572711_15972.cpp:23:31: error: 'c' was not declared in this scope
         for(i = 0; i < m; i++)c[i] = 0;
                               ^
0_0_30572711_15972.cpp:24:31: error: 'c' was not declared in this scope
         for(i = 0; i < n; i++)c[x[y[i]]]++;
                               ^
0_0_30572711_15972.cpp:24:35: error: 'y' was not declared in this scope
         for(i = 0; i < n; i++)c[x[y[i]]]++;
                                   ^
0_0_30572711_15972.cpp:25:30: error: 'c' was not declared in this scope
         for(i = 1; i < m;i++)c[i] += c[i-1];
                              ^
0_0_30572711_15972.cpp:26:33: error: 'sa' was not declared in this scope
         for(i = n-1; i >= 0;i--)sa[--c[x[y[i]]]] = y[i];
                                 ^
0_0_30572711_15972.cpp:26:38: error: 'c' was not declared in this scope
         for(i = n-1; i >= 0;i--)sa[--c[x[y[i]]]] = y[i];
                                      ^
0_0_30572711_15972.cpp:26:42: error: 'y' was not declared in this scope
         for(i = n-1; i >= 0;i--)sa[--c[x[y[i]]]] = y[i];
                                          ^
0_0_30572711_15972.cpp:27:16: error: 'y' was not declared in this scope
         swap(x,y);
                ^
0_0_30572711_15972.cpp:28:18: error: 'sa' was not declared in this scope
         p = 1; x[sa[0]] = 0;
                  ^
0_0_30572711_15972.cpp:36:26: error: 'rak' was not declared in this scope
     for(i = 0;i <= n;i++)rak[sa[i]] = i;
                          ^
0_0_30572711_15972.cpp:36:30: error: 'sa' was not declared in this scope
     for(i = 0;i <= n;i++)rak[sa[i]] = i;
                              ^
0_0_30572711_15972.cpp:40:13: error: 'sa' was not declared in this scope
         j = sa[rak[i]-1];
             ^
0_0_30572711_15972.cpp:40:16: error: 'rak' was not declared in this scope
         j = sa[rak[i]-1];
                ^
0_0_30572711_15972.cpp:42:9: error: 'height' was not declared in this scope
         height[rak[i]] = k;
         ^
0_0_30572711_15972.cpp: In function 'void queryInit(int)':
0_0_30572711_15972.cpp:76:26: error: 'height' was not declared in this scope
         minPoint[i][0] = height[i];
                          ^
0_0_30572711_15972.cpp: In function 'int main()':
0_0_30572711_15972.cpp:123:57: error: 'sa' was not declared in this scope
         for(int i=1;i<=n;i++) add(0,n,root[i],root[i-1],sa[i]);
                                                         ^
0_0_30572711_15972.cpp:129:20: error: 'rak' was not declared in this scope
             int ra=rak[l-1];
                    ^


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 20:10:16, Gzip enabled