QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#273665#7879. Colorful Balloonsucup-team159#Compile Error//C++1416.5kb2023-12-03 02:45:182023-12-03 02:45:19

Details

answer.code: In static member function ‘static int yosupo::Printer::calc_len(uint64_t)’:
answer.code:302:29: error: ‘countl_zero’ is not a member of ‘std’
  302 |         int i = ((63 - std::countl_zero(x)) * 3 + 3) / 10;
      |                             ^~~~~~~~~~~
answer.code: At global scope:
answer.code:595:27: error: use of deleted function ‘yosupo::Scanner::Scanner(const yosupo::Scanner&)’
  595 | Scanner sc = Scanner(stdin);
      |                           ^
answer.code:99:5: note: declared here
   99 |     Scanner(const Scanner&) = delete;
      |     ^~~~~~~
answer.code:596:28: error: use of deleted function ‘yosupo::Printer::Printer(const yosupo::Printer&)’
  596 | Printer pr = Printer(stdout);
      |                            ^
answer.code:225:8: note: ‘yosupo::Printer::Printer(const yosupo::Printer&)’ is implicitly deleted because the default definition would be ill-formed:
  225 | struct Printer {
      |        ^~~~~~~
answer.code:225:8: error: use of deleted function ‘std::__cxx11::basic_stringstream<_CharT, _Traits, _Alloc>::basic_stringstream(const std::__cxx11::basic_stringstream<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
In file included from answer.code:13:
/usr/include/c++/11/sstream:1057:7: note: declared here
 1057 |       basic_stringstream(const basic_stringstream&) = delete;
      |       ^~~~~~~~~~~~~~~~~~