F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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;
                         ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-12-02 09:47:02, Gzip enabled