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_17893444_13081.cpp:97:1: error: 'bitset' does not name a type
 bitset<MAXN/2>a[MAXN/2],in[MAXN/2],ans,nn;
 ^
0_0_17893444_13081.cpp: In function 'void init()':
0_0_17893444_13081.cpp:99:5: error: 'in' was not declared in this scope
     in[0].reset();
     ^
0_0_17893444_13081.cpp: In function 'int main()':
0_0_17893444_13081.cpp:135:9: error: 'nn' was not declared in this scope
         nn.reset();
         ^
0_0_17893444_13081.cpp:141:13: error: 'a' was not declared in this scope
             a[i]=nn;
             ^
0_0_17893444_13081.cpp:143:9: error: 'ans' was not declared in this scope
         ans.reset();
         ^
0_0_17893444_13081.cpp:150:20: error: 'a' was not declared in this scope
             ans|=((a[i]<<i)&(in[i+w]^in[i-1]));
                    ^
0_0_17893444_13081.cpp:150:30: error: 'in' was not declared in this scope
             ans|=((a[i]<<i)&(in[i+w]^in[i-1]));
                              ^


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-11-26 20:38:13, Gzip enabled