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_22032836_17554.cpp:21:1: error: 'bitset' does not name a type
 bitset<101> bits[N];
 ^
0_0_22032836_17554.cpp: In function 'int solve(int, int, int, int)':
0_0_22032836_17554.cpp:25:34: error: 'bits' was not declared in this scope
     for (int i = 1; i <= n; i++) bits[i].reset();
                                  ^
0_0_22032836_17554.cpp:28:9: error: 'bitset' was not declared in this scope
         bitset<101> bit;
         ^
0_0_22032836_17554.cpp:28:21: error: 'bit' was not declared in this scope
         bitset<101> bit;
                     ^
0_0_22032836_17554.cpp:30:20: error: 'bits' was not declared in this scope
             bit |= bits[j];
                    ^
0_0_22032836_17554.cpp:34:25: error: 'bl' was not declared in this scope
             bitset<101> bl = (bit << (101 - y)) >> (101 - y);
                         ^
0_0_22032836_17554.cpp:41:25: error: 'br' was not declared in this scope
             bitset<101> br = (bit << (y + 1)) >> (y + 1);
                         ^
0_0_22032836_17554.cpp:51:9: error: 'bits' was not declared in this scope
         bits[x].set(y);
         ^


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-29 15:10:15, Gzip enabled