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_37732737_14499.cpp: In function 'int main()':
0_0_37732737_14499.cpp:37:67: error: cannot convert 'std::bitset<100010ull>' to 'int' in initialization
                 int low = dp & (~bitset<N>(0) >> (N - v[i][2] - 1));
                                                                   ^
0_0_37732737_14499.cpp:38:65: error: cannot convert 'std::bitset<100010ull>' to 'int' in initialization
                 int hight = dp & (~bitset<N>(0) << (v[i][2] + 1));
                                                                 ^
0_0_37732737_14499.cpp:39:39: error: 'r' was not declared in this scope
                 dp = low & (hight << (r - l + 1));
                                       ^
0_0_37732737_14499.cpp:39:43: error: 'l' was not declared in this scope
                 dp = low & (hight << (r - l + 1));
                                           ^
0_0_37732737_14499.cpp:42:20: error: 'x' was not declared in this scope
                 dp[x] = !dp[x];
                    ^


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