0_0_21652770_20158.cpp: In function 'void Insert(std::string, int)':
0_0_21652770_20158.cpp:13:2: error: 'nbsp' was not declared in this scope
int len=S.length();
^
0_0_21652770_20158.cpp:17:66: error: 'i' was not declared in this scope
if(!child[now][S[i]-'0'])
^
0_0_21652770_20158.cpp:18:74: error: 'i' was not declared in this scope
child[now][S[i]-'0']=size++;
^
0_0_21652770_20158.cpp: In function 'void Inser2(std::string, int)':
0_0_21652770_20158.cpp:24:2: error: 'nbsp' was not declared in this scope
int len=S.length();
^
0_0_21652770_20158.cpp:28:66: error: 'i' was not declared in this scope
if(!child[now][S[i]-'0'])
^
0_0_21652770_20158.cpp:29:74: error: 'i' was not declared in this scope
child[now][S[i]-'0']=size++;
^
0_0_21652770_20158.cpp: In function 'void build()':
0_0_21652770_20158.cpp:36:2: error: 'nbsp' was not declared in this scope
fail[0]=-1;
^
0_0_21652770_20158.cpp:42:73: error: 'i' was not declared in this scope
if(child[U][i])
^
0_0_21652770_20158.cpp:47:121: error: 'i' was not declared in this scope
if(child[V][i])
^
0_0_21652770_20158.cpp:49:147: error: 'i' was not declared in this scope
fail[child[U][i]]=child[V][i];
^
0_0_21652770_20158.cpp:50:133: error: break statement not within loop or switch
break;
^
0_0_21652770_20158.cpp:55:111: error: 'i' was not declared in this scope
fail[child[U][i]]=0;
^
0_0_21652770_20158.cpp:60:61: error: 'else' without a previous 'if'
else if(U)
^
0_0_21652770_20158.cpp:61:82: error: 'i' was not declared in this scope
child[U][i]=child[fail[U]][i];
^
0_0_21652770_20158.cpp: In function 'void Init()':
0_0_21652770_20158.cpp:66:2: error: 'nbsp' was not declared in this scope
memset(child,0,sizeof(child));
^
0_0_21652770_20158.cpp: In function 'int main()':
0_0_21652770_20158.cpp:76:2: error: 'nbsp' was not declared in this scope
scanf("%d",&T);
^
0_0_21652770_20158.cpp:120:108: error: 'j' was not declared in this scope
if(!f[cur][j][k])
^
0_0_21652770_20158.cpp:124:124: error: 'j' was not declared in this scope
f[cur^1][child[j][l]][k|tag[child[j][l]]]=
^
0_0_21652770_20158.cpp:124:127: error: 'l' was not declared in this scope
f[cur^1][child[j][l]][k|tag[child[j][l]]]=
^
0_0_21652770_20158.cpp:126:97: error: 'else' without a previous 'if'
else{
^
0_0_21652770_20158.cpp:136:89: error: 'j' was not declared in this scope
ans=(ans+f[cur][j][(1<<m)-1])%MOD;
^
|