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_21844100_24654.cpp:8:1: error: 'bitset' does not name a type
 bitset<MaxM> Right, Left;
 ^
0_0_21844100_24654.cpp: In function 'void solve()':
0_0_21844100_24654.cpp:34:17: error: 'Right' was not declared in this scope
                 Right |= (Right<<a[i]);
                 ^
0_0_21844100_24654.cpp:35:17: error: 'Left' was not declared in this scope
                 Left  |= (Left <<a[i]);
                 ^
0_0_21844100_24654.cpp:44:29: error: 'Right' was not declared in this scope
         if(k==0 ||  (k>0 && Right.test(k)) || (k<0 && Left.test(-k)) ) puts("yes");
                             ^
0_0_21844100_24654.cpp:44:55: error: 'Left' was not declared in this scope
         if(k==0 ||  (k>0 && Right.test(k)) || (k<0 && Left.test(-k)) ) puts("yes");
                                                       ^
0_0_21844100_24654.cpp: In function 'int main()':
0_0_21844100_24654.cpp:74:11: error: 'read' was not declared in this scope
     read(T);
           ^
0_0_21844100_24654.cpp:78:9: error: 'Left' was not declared in this scope
         Left.reset();
         ^
0_0_21844100_24654.cpp:79:9: error: 'Right' was not declared in this scope
         Right.reset();
         ^


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-30 06:21:28, Gzip enabled