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_22196278_10347.cpp: In function 'int SAM::new_node()':
0_0_22196278_10347.cpp:14:23: error: 'RST' was not declared in this scope
         RST(trans[tot]);
                       ^
0_0_22196278_10347.cpp: In function 'int SAM::new_node(int)':
0_0_22196278_10347.cpp:19:33: error: 'CPY' was not declared in this scope
         CPY(trans[tot], trans[u]); par[tot] = par[u];
                                 ^
0_0_22196278_10347.cpp: At global scope:
0_0_22196278_10347.cpp:42:35: error: 'VI' does not name a type
     char str[N/2];int prefix[N/2];VI adj[N];int fa[LV][N],L[N],R[N],tt;
                                   ^
0_0_22196278_10347.cpp: In function 'int SAM::Find(int, int)':
0_0_22196278_10347.cpp:45:28: error: 'lv' was not declared in this scope
         u = prefix[u]; DWN(lv, LV, 0){
                            ^
0_0_22196278_10347.cpp:45:37: error: 'DWN' was not declared in this scope
         u = prefix[u]; DWN(lv, LV, 0){
                                     ^
0_0_22196278_10347.cpp: In function 'void SAM::dfs(int)':
0_0_22196278_10347.cpp:54:24: error: 'it' was not declared in this scope
         L[u]=++tt; ECH(it, adj[u]){
                        ^
0_0_22196278_10347.cpp:54:28: error: 'adj' was not declared in this scope
         L[u]=++tt; ECH(it, adj[u]){
                            ^
0_0_22196278_10347.cpp:54:34: error: 'ECH' was not declared in this scope
         L[u]=++tt; ECH(it, adj[u]){
                                  ^
0_0_22196278_10347.cpp: In function 'void SAM::Init()':
0_0_22196278_10347.cpp:64:15: error: 'RS' was not declared in this scope
         RS(str); n = 0; REP_S(cur, str) prefix[n++] = Ext(*cur-'a');
               ^
0_0_22196278_10347.cpp:64:31: error: 'cur' was not declared in this scope
         RS(str); n = 0; REP_S(cur, str) prefix[n++] = Ext(*cur-'a');
                               ^
0_0_22196278_10347.cpp:64:39: error: 'REP_S' was not declared in this scope
         RS(str); n = 0; REP_S(cur, str) prefix[n++] = Ext(*cur-'a');
                                       ^
0_0_22196278_10347.cpp:65:13: error: 'u' was not declared in this scope
         REP(u, tot) adj[u].clear(); FOR(u, 1, tot) adj[p].PB(u),T[u]=0;tt=0,dfs();
             ^
0_0_22196278_10347.cpp:65:19: error: 'REP' was not declared in this scope
         REP(u, tot) adj[u].clear(); FOR(u, 1, tot) adj[p].PB(u),T[u]=0;tt=0,dfs();
                   ^
0_0_22196278_10347.cpp:65:50: error: 'FOR' was not declared in this scope
         REP(u, tot) adj[u].clear(); FOR(u, 1, tot) adj[p].PB(u),T[u]=0;tt=0,dfs();
                                                  ^
0_0_22196278_10347.cpp: In function 'int main()':
0_0_22196278_10347.cpp:221:5: error: 'Rush' was not declared in this scope
     Rush{
     ^


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-23 03:18:50, Gzip enabled