0_0_17888494_32128.cpp:35:1: error: 'bitset' does not name a type
bitset<MAXLEN> pfx_sfx,sfx_pfx,sum;//A_B
^
0_0_17888494_32128.cpp:36:1: error: 'bitset' does not name a type
bitset<MAXLEN> aph_up[27],aph_down[27];//alphabet up:abcde down:edcba
^
0_0_17888494_32128.cpp: In function 'void prep()':
0_0_17888494_32128.cpp:40:9: error: 'aph_up' was not declared in this scope
aph_up[i].reset();
^
0_0_17888494_32128.cpp:41:9: error: 'aph_down' was not declared in this scope
aph_down[i].reset();
^
0_0_17888494_32128.cpp:44:9: error: 'aph_up' was not declared in this scope
aph_up[A[i]-'a'][i+1] = 1;
^
0_0_17888494_32128.cpp:45:9: error: 'aph_down' was not declared in this scope
aph_down[B[len-i-1]-'a'][i+1] = 1;
^
0_0_17888494_32128.cpp: In function 'void progress()':
0_0_17888494_32128.cpp:51:5: error: 'pfx_sfx' was not declared in this scope
pfx_sfx <<= 1;
^
0_0_17888494_32128.cpp:53:16: error: 'aph_up' was not declared in this scope
pfx_sfx &= aph_up[B[cur]-'a'];
^
0_0_17888494_32128.cpp:56:5: error: 'sfx_pfx' was not declared in this scope
sfx_pfx &= aph_down[A[cur]-'a'] >> (len-cur);
^
0_0_17888494_32128.cpp:56:16: error: 'aph_down' was not declared in this scope
sfx_pfx &= aph_down[A[cur]-'a'] >> (len-cur);
^
0_0_17888494_32128.cpp: In function 'void solve()':
0_0_17888494_32128.cpp:65:9: error: 'sum' was not declared in this scope
sum = pfx_sfx & sfx_pfx;
^
0_0_17888494_32128.cpp:65:15: error: 'pfx_sfx' was not declared in this scope
sum = pfx_sfx & sfx_pfx;
^
0_0_17888494_32128.cpp:65:25: error: 'sfx_pfx' was not declared in this scope
sum = pfx_sfx & sfx_pfx;
^
|