QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#273663#7879. Colorful Balloonsucup-team159#Compile Error//C++1416.5kb2023-12-03 02:44:322023-12-03 02:44:34

Details

answer.code: In static member function ‘static int yosupo::Printer::calc_len(uint64_t)’:
answer.code:301:29: error: ‘countl_zero’ is not a member of ‘std’
  301 |         int i = ((63 - std::countl_zero(x)) * 3 + 3) / 10;
      |                             ^~~~~~~~~~~
answer.code: At global scope:
answer.code:594:27: error: use of deleted function ‘yosupo::Scanner::Scanner(const yosupo::Scanner&)’
  594 | Scanner sc = Scanner(stdin);
      |                           ^
answer.code:98:5: note: declared here
   98 |     Scanner(const Scanner&) = delete;
      |     ^~~~~~~
answer.code:595:28: error: use of deleted function ‘yosupo::Printer::Printer(const yosupo::Printer&)’
  595 | Printer pr = Printer(stdout);
      |                            ^
answer.code:224:8: note: ‘yosupo::Printer::Printer(const yosupo::Printer&)’ is implicitly deleted because the default definition would be ill-formed:
  224 | struct Printer {
      |        ^~~~~~~
answer.code:224: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:12:
/usr/include/c++/11/sstream:1057:7: note: declared here
 1057 |       basic_stringstream(const basic_stringstream&) = delete;
      |       ^~~~~~~~~~~~~~~~~~