QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#525628#8512. Harmonic Operationsucup-team3556#Compile Error//C++173.6kb2024-08-20 19:38:162024-08-20 19:38:17

詳細信息

answer.code: In function ‘void solve()’:
answer.code:94:5: error: ‘bitset’ was not declared in this scope
   94 |     bitset<500001> b, b1;
      |     ^~~~~~
answer.code:24:1: note: ‘std::bitset’ is defined in header ‘<bitset>’; did you forget to ‘#include <bitset>’?
   23 | #include <climits>
  +++ |+#include <bitset>
   24 | 
answer.code:94:20: error: ‘b’ was not declared in this scope
   94 |     bitset<500001> b, b1;
      |                    ^
answer.code:94:23: error: ‘b1’ was not declared in this scope; did you mean ‘s1’?
   94 |     bitset<500001> b, b1;
      |                       ^~
      |                       s1