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_37610765_6445.cpp:5:12: error: 'MAXN' was not declared in this scope
 int dp[55][MAXN];
            ^
0_0_37610765_6445.cpp:6:17: error: 'MAXN' was not declared in this scope
 string word[55][MAXN];
                 ^
0_0_37610765_6445.cpp:10:13: error: 'MAXN' was not declared in this scope
     int vis[MAXN],fail[MAXN],num[MAXN],acgg,ssss[MAXN][30];
             ^
0_0_37610765_6445.cpp:10:24: error: 'MAXN' was not declared in this scope
     int vis[MAXN],fail[MAXN],num[MAXN],acgg,ssss[MAXN][30];
                        ^
0_0_37610765_6445.cpp:10:34: error: 'MAXN' was not declared in this scope
     int vis[MAXN],fail[MAXN],num[MAXN],acgg,ssss[MAXN][30];
                                  ^
0_0_37610765_6445.cpp:10:50: error: 'MAXN' was not declared in this scope
     int vis[MAXN],fail[MAXN],num[MAXN],acgg,ssss[MAXN][30];
                                                  ^
0_0_37610765_6445.cpp: In member function 'void Ac_Auto::init()':
0_0_37610765_6445.cpp:13:16: error: 'ssss' was not declared in this scope
         memset(ssss,0,sizeof(ssss));
                ^
0_0_37610765_6445.cpp:14:16: error: 'fail' was not declared in this scope
         memset(fail,0,sizeof(fail));
                ^
0_0_37610765_6445.cpp:15:16: error: 'vis' was not declared in this scope
         memset(vis,0,sizeof(vis));
                ^
0_0_37610765_6445.cpp: In member function 'void Ac_Auto::insert(char*, int)':
0_0_37610765_6445.cpp:25:16: error: 'ssss' was not declared in this scope
             if(ssss[u][c] == 0)   ssss[u][c] = acgg++;
                ^
0_0_37610765_6445.cpp:26:17: error: 'ssss' was not declared in this scope
             u = ssss[u][c];
                 ^
0_0_37610765_6445.cpp:28:9: error: 'vis' was not declared in this scope
         vis[u] = value;
         ^
0_0_37610765_6445.cpp: In member function 'void Ac_Auto::getfail()':
0_0_37610765_6445.cpp:36:16: error: 'ssss' was not declared in this scope
             if(ssss[u][i])    q.push(ssss[u][i]);
                ^
0_0_37610765_6445.cpp:41:16: error: 'vis' was not declared in this scope
             if(vis[ fail[u] ])
                ^
0_0_37610765_6445.cpp:41:21: error: 'fail' was not declared in this scope
             if(vis[ fail[u] ])
                     ^
0_0_37610765_6445.cpp:45:25: error: 'ssss' was not declared in this scope
                 int v = ssss[u][i];
                         ^
0_0_37610765_6445.cpp:46:48: error: 'fail' was not declared in this scope
                 if(v == 0)  ssss[u][i] = ssss[ fail[u] ][i];
                                                ^
0_0_37610765_6445.cpp:49:21: error: 'fail' was not declared in this scope
                     fail[v] = ssss[ fail[u] ][i];
                     ^
0_0_37610765_6445.cpp: In member function 'void Ac_Auto::solve(int)':
0_0_37610765_6445.cpp:57:16: error: 'dp' was not declared in this scope
         memset(dp,-1,sizeof(dp));
                ^
0_0_37610765_6445.cpp:60:9: error: 'word' was not declared in this scope
         word[0][0] = "";
         ^
0_0_37610765_6445.cpp:66:33: error: 'ssss' was not declared in this scope
                         int u = ssss[rol][k];
                                 ^
0_0_37610765_6445.cpp:67:41: error: 'vis' was not declared in this scope
                         if(dp[i][rol] + vis[u] > dp[i+1][u])
                                         ^
0_0_37610765_6445.cpp:73:41: error: 'vis' was not declared in this scope
                         if(dp[i][rol] + vis[u] == dp[i+1][u])
                                         ^


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 00:42:56, Gzip enabled