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_33377102_10182.cpp: In function 'int ok(int, int, int, int)':
0_0_33377102_10182.cpp:126:16: error: 'lcp' was not declared in this scope
   if(lcp(mid, p) >= r-l+1) ed = mid;
                ^
0_0_33377102_10182.cpp:134:16: error: 'lcp' was not declared in this scope
   if(lcp(mid, p) >= r-l+1) st = mid;
                ^
0_0_33377102_10182.cpp: In function 'void sappend(int, int, int&)':
0_0_33377102_10182.cpp:144:32: error: 'update' was not declared in this scope
  update(1, 1, n+1, rk[r+1], r+1);
                                ^
0_0_33377102_10182.cpp: In function 'void erase(int, int, int&)':
0_0_33377102_10182.cpp:156:30: error: 'update' was not declared in this scope
  update(1, 1, n+1, rk[l], inf);
                              ^
0_0_33377102_10182.cpp: In function 'int sol()':
0_0_33377102_10182.cpp:171:17: error: 'build' was not declared in this scope
  build(1, 1, n+1);
                 ^
0_0_33377102_10182.cpp:175:28: error: 'update' was not declared in this scope
  update(1, 1, n+1, rk[0], 0);
                            ^
0_0_33377102_10182.cpp: In function 'int solve()':
0_0_33377102_10182.cpp:196:11: error: 'buildSA' was not declared in this scope
  buildSA(n);
           ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-11 00:12:42, Gzip enabled