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_38708142_31930.cpp: In function 'int main()':
0_0_38708142_31930.cpp:7:17: error: 'constexpr std::_Base_bitset<1>::_WordT& std::_Base_bitset<1>::_M_getword(std::size_t)' is inaccessible within this context
    7 |     b._M_getword(1);
      |     ~~~~~~~~~~~~^~~
In file included from .\stdc++.h:52:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bitset:428:7: note: declared here
  428 |       _M_getword(size_t) _GLIBCXX_NOEXCEPT
      |       ^~~~~~~~~~
0_0_38708142_31930.cpp:7:17: error: 'std::_Base_bitset<1>' is not an accessible base of 'std::bitset<10>'
    7 |     b._M_getword(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-09-29 07:47:07, Gzip enabled