0_0_18532746_1052.cpp:100:3: error: 'ansaaa' does not name a type
ansaaa = -ansaaa;
^
0_0_18532746_1052.cpp:101:3: error: expected unqualified-id before 'for'
for(int i = 0; i < sz; i++)
^
0_0_18532746_1052.cpp:101:18: error: 'i' does not name a type
for(int i = 0; i < sz; i++)
^
0_0_18532746_1052.cpp:101:26: error: 'i' does not name a type
for(int i = 0; i < sz; i++)
^
0_0_18532746_1052.cpp:102:19: error: 's' does not name a type
for(int s = 0; s < (1<<n); s++)
^
0_0_18532746_1052.cpp:102:31: error: 's' does not name a type
for(int s = 0; s < (1<<n); s++)
^
0_0_18532746_1052.cpp:104:3: error: expected unqualified-id before 'return'
return ansaaa;
^
0_0_18532746_1052.cpp:105:2: error: expected ';' after struct definition
}
^
0_0_18532746_1052.cpp: In member function 'int AhoCorasickAutomata::solve()':
0_0_18532746_1052.cpp:94:98: error: expected ')' before ';' token
if(!vis[ni][ns] && dp[cur][ni][ns] != INF) { vis[ni][ns] = true; q[cur].push((Node){ni,ns}; )}
^
0_0_18532746_1052.cpp:94:100: error: expected primary-expression before ')' token
if(!vis[ni][ns] && dp[cur][ni][ns] != INF) { vis[ni][ns] = true; q[cur].push((Node){ni,ns}; )}
^
0_0_18532746_1052.cpp: At global scope:
0_0_18532746_1052.cpp:106:1: error: expected declaration before '}' token
};
^
|