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);
^
|