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_28709411_23873.cpp: In function 'void SA::suffixArray(ll, const T*)':
0_0_28709411_23873.cpp:55:31: error: invalid types 'll {aka long long int}[int]' for array subscript
         for (ll i = 0, h = h[0] = 0; i < n-1; i++) {
                               ^
0_0_28709411_23873.cpp:58:24: error: invalid types 'll {aka long long int}[ll {aka long long int}]' for array subscript
             if (h[rk[i]] = h) h--;
                        ^
0_0_28709411_23873.cpp: In function 'void SA::solve(ll)':
0_0_28709411_23873.cpp:93:21: error: 'cal' was not declared in this scope
         ll ans=cal(k)-cal(k+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-30 01:56:25, Gzip enabled