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_33377148_21463.cpp: In function 'void build(int, int, int)':
0_0_33377148_21463.cpp:88:17: error: invalid operands of types 'int [100111]' and 'int [100111]' to binary 'operator+'
 #define mid (st+ed>>1)
                 ^
0_0_33377148_21463.cpp:97:16: note: in expansion of macro 'mid'
  build(ls, st, mid);
                ^
0_0_33377148_21463.cpp:88:17: error: invalid operands of types 'int [100111]' and 'int [100111]' to binary 'operator+'
 #define mid (st+ed>>1)
                 ^
0_0_33377148_21463.cpp:98:12: note: in expansion of macro 'mid'
  build(rs, mid, ed);
            ^
0_0_33377148_21463.cpp: In function 'int ok(int, int, int, int)':
0_0_33377148_21463.cpp:127:16: error: 'lcp' was not declared in this scope
   if(lcp(mid, p) >= r-l+1) ed = mid;
                ^
0_0_33377148_21463.cpp:135:16: error: 'lcp' was not declared in this scope
   if(lcp(mid, p) >= r-l+1) st = mid;
                ^
0_0_33377148_21463.cpp: In function 'int solve()':
0_0_33377148_21463.cpp:197:11: error: 'buildSA' was not declared in this scope
  buildSA(n);
           ^


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-11 05:38:25, Gzip enabled