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_37776204_1397.cpp: In function 'int main()':
0_0_37776204_1397.cpp:19:18: error: no match for 'operator=' (operand types are 'std::bitset<32ull>' and 'std::bitset<64ull>')
             b[i] = b2;
                  ^
0_0_37776204_1397.cpp:19:18: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:65:0,
                 from 0_0_37776204_1397.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bitset:748:11: note: std::bitset<32ull>& std::bitset<32ull>::operator=(const std::bitset<32ull>&)
     class bitset
           ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bitset:748:11: note:   no known conversion for argument 1 from 'std::bitset<64ull>' to 'const std::bitset<32ull>&'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bitset:748:11: note: std::bitset<32ull>& std::bitset<32ull>::operator=(std::bitset<32ull>&&)
GCC4.9.2/x86_64-w64-mingw32/include/c++/bitset:748:11: note:   no known conversion for argument 1 from 'std::bitset<64ull>' to 'std::bitset<32ull>&&'


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 16:05:19, Gzip enabled