0_0_31729819_30942.cpp: In function 'void init()':
0_0_31729819_30942.cpp:99:12: error: 'c' was not declared in this scope
memset(c,0,sizeof(c));
^
0_0_31729819_30942.cpp:100:12: error: 'vis' was not declared in this scope
memset(vis,0,sizeof(vis));
^
0_0_31729819_30942.cpp:102:5: error: 'cnt' was not declared in this scope
cnt=1;
^
0_0_31729819_30942.cpp: In function 'void ins(char*)':
0_0_31729819_30942.cpp:109:13: error: 'c' was not declared in this scope
if(!c[now][v]) c[now][v]=cnt++;
^
0_0_31729819_30942.cpp:109:34: error: 'cnt' was not declared in this scope
if(!c[now][v]) c[now][v]=cnt++;
^
0_0_31729819_30942.cpp:110:13: error: 'c' was not declared in this scope
now=c[now][v];
^
0_0_31729819_30942.cpp:112:5: error: 'vis' was not declared in this scope
vis[now]=1;
^
0_0_31729819_30942.cpp: In function 'void build()':
0_0_31729819_30942.cpp:116:29: error: 'c' was not declared in this scope
for(int i=0;i<26;i++)if(c[0][i])fail[c[0][i]]=0,q.push(c[0][i]);
^
0_0_31729819_30942.cpp:116:37: error: 'fail' was not declared in this scope
for(int i=0;i<26;i++)if(c[0][i])fail[c[0][i]]=0,q.push(c[0][i]);
^
0_0_31729819_30942.cpp:116:53: error: 'q' was not declared in this scope
for(int i=0;i<26;i++)if(c[0][i])fail[c[0][i]]=0,q.push(c[0][i]);
^
0_0_31729819_30942.cpp:117:12: error: 'q' was not declared in this scope
while(!q.empty()){
^
0_0_31729819_30942.cpp:120:16: error: 'c' was not declared in this scope
if(c[u][i])fail[c[u][i]]=c[fail[u]][i],q.push(c[u][i]);
^
0_0_31729819_30942.cpp:120:24: error: 'fail' was not declared in this scope
if(c[u][i])fail[c[u][i]]=c[fail[u]][i],q.push(c[u][i]);
^
0_0_31729819_30942.cpp:121:28: error: 'fail' was not declared in this scope
else c[u][i]=c[fail[u]][i];
^
0_0_31729819_30942.cpp:122:13: error: 'vis' was not declared in this scope
vis[c[u][i]]|=vis[c[fail[u]][i]];
^
0_0_31729819_30942.cpp:122:17: error: 'c' was not declared in this scope
vis[c[u][i]]|=vis[c[fail[u]][i]];
^
0_0_31729819_30942.cpp:122:33: error: 'fail' was not declared in this scope
vis[c[u][i]]|=vis[c[fail[u]][i]];
^
0_0_31729819_30942.cpp: In function 'void GaussMa()':
0_0_31729819_30942.cpp:127:19: error: 'cnt' was not declared in this scope
for(int i=0;i<cnt;i++){
^
0_0_31729819_30942.cpp:128:12: error: 'vis' was not declared in this scope
if(vis[i]){
^
0_0_31729819_30942.cpp:134:16: error: 'c' was not declared in this scope
if(c[i][j]){
^
0_0_31729819_30942.cpp:135:32: error: 'ax' was not declared in this scope
a[i][c[i][j]]+=ax[j];
^
0_0_31729819_30942.cpp:138:46: error: 'fail' was not declared in this scope
while(c[xx][j]==0&&xx!=0) xx=fail[xx];
^
0_0_31729819_30942.cpp:140:27: error: 'ax' was not declared in this scope
a[i][xx]+=ax[j];
^
0_0_31729819_30942.cpp: In function 'void debug()':
0_0_31729819_30942.cpp:146:20: error: 'cnt' was not declared in this scope
for(int i=0;i<=cnt;i++){
^
0_0_31729819_30942.cpp: In function 'int main()':
0_0_31729819_30942.cpp:158:44: error: 'ax' was not declared in this scope
for(int i=0;i<26;i++) scanf("%lf",&ax[i]);
^
0_0_31729819_30942.cpp:160:24: error: 'str' was not declared in this scope
scanf("%s",str);
^
0_0_31729819_30942.cpp:166:17: error: 'cnt' was not declared in this scope
equ=var=cnt;
^
0_0_31729819_30942.cpp:168:31: error: 'x' was not declared in this scope
else printf("%.6lf\n",x[0]);
^
|