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_36621215_650.cpp: In function 'void get_sa()':
0_0_36621215_650.cpp:14:36: error: 'c' was not declared in this scope
     for (int i = 1; i <= n; i ++ ) c[x[i] = s[i]] ++ ;
                                    ^
0_0_36621215_650.cpp:15:36: error: 'c' was not declared in this scope
     for (int i = 2; i <= m; i ++ ) c[i] += c[i - 1];
                                    ^
0_0_36621215_650.cpp:16:34: error: 'c' was not declared in this scope
     for (int i = n; i; i -- ) sa[c[x[i]] -- ] = i;
                                  ^
0_0_36621215_650.cpp:24:40: error: 'c' was not declared in this scope
         for (int i = 1; i <= m; i ++ ) c[i] = 0;
                                        ^
0_0_36621215_650.cpp:25:40: error: 'c' was not declared in this scope
         for (int i = 1; i <= n; i ++ ) c[x[i]] ++ ;
                                        ^
0_0_36621215_650.cpp:26:40: error: 'c' was not declared in this scope
         for (int i = 2; i <= m; i ++ ) c[i] += c[i - 1];
                                        ^
0_0_36621215_650.cpp:27:38: error: 'c' was not declared in this scope
         for (int i = n; i; i -- ) sa[c[x[y[i]]] -- ] = y[i], y[i] = 0;
                                      ^


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-04 06:12:41, Gzip enabled