0_0_19893561_15715.cpp:6:10: error: #include expects "FILENAME" or <FILENAME>
#include N 500010
^
0_0_19893561_15715.cpp:9:22: error: 'N' was not declared in this scope
int i,n,trcnt,danger[N],vis[N],q[N],fail[N],ans,t,tr[N][30];
^
0_0_19893561_15715.cpp:9:29: error: 'N' was not declared in this scope
int i,n,trcnt,danger[N],vis[N],q[N],fail[N],ans,t,tr[N][30];
^
0_0_19893561_15715.cpp:9:34: error: 'N' was not declared in this scope
int i,n,trcnt,danger[N],vis[N],q[N],fail[N],ans,t,tr[N][30];
^
0_0_19893561_15715.cpp:9:42: error: 'N' was not declared in this scope
int i,n,trcnt,danger[N],vis[N],q[N],fail[N],ans,t,tr[N][30];
^
0_0_19893561_15715.cpp:9:54: error: 'N' was not declared in this scope
int i,n,trcnt,danger[N],vis[N],q[N],fail[N],ans,t,tr[N][30];
^
0_0_19893561_15715.cpp: In function 'void insert()':
0_0_19893561_15715.cpp:16:8: error: 'tr' was not declared in this scope
if (!tr[now][y]) tr[now][y]=++trcnt;
^
0_0_19893561_15715.cpp:17:7: error: 'tr' was not declared in this scope
now=tr[now][y];
^
0_0_19893561_15715.cpp:19:2: error: 'danger' was not declared in this scope
danger[now]++;
^
0_0_19893561_15715.cpp: In function 'void acmach()':
0_0_19893561_15715.cpp:24:2: error: 'q' was not declared in this scope
q[++tail]=1;
^
0_0_19893561_15715.cpp:29:7: error: 'tr' was not declared in this scope
if (tr[now][k])
^
0_0_19893561_15715.cpp:31:10: error: 'fail' was not declared in this scope
int y=fail[now];
^
0_0_19893561_15715.cpp: In function 'void run()':
0_0_19893561_15715.cpp:45:3: error: 'vis' was not declared in this scope
vis[now]=1;
^
0_0_19893561_15715.cpp:46:11: error: 'tr' was not declared in this scope
while (!tr[now][y]) now=fail[now];
^
0_0_19893561_15715.cpp:46:27: error: 'fail' was not declared in this scope
while (!tr[now][y]) now=fail[now];
^
0_0_19893561_15715.cpp:47:7: error: 'tr' was not declared in this scope
now=tr[now][y];
^
0_0_19893561_15715.cpp:49:23: error: 'fail' was not declared in this scope
for (int j=now;j;j=fail[j])
^
0_0_19893561_15715.cpp:51:10: error: 'danger' was not declared in this scope
ans+=danger[j];
^
0_0_19893561_15715.cpp: In function 'int main()':
0_0_19893561_15715.cpp:61:22: error: 'tr' was not declared in this scope
for(i=1;i<=26;i++) tr[0][i]=1;
^
0_0_19893561_15715.cpp:76:4: error: 'fail' was not declared in this scope
fail[i]=danger[i]=vis[i]=0;
^
0_0_19893561_15715.cpp:76:12: error: 'danger' was not declared in this scope
fail[i]=danger[i]=vis[i]=0;
^
0_0_19893561_15715.cpp:76:22: error: 'vis' was not declared in this scope
fail[i]=danger[i]=vis[i]=0;
^
0_0_19893561_15715.cpp:78:5: error: 'tr' was not declared in this scope
tr[i][j]=0;
^
|