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_37843265_25822.cpp:102:28: error: 'enable_if_t' in namespace 'std' does not name a template type
 using is_integral_t = std::enable_if_t<is_integral<T>::value>;
                            ^
0_0_37843265_25822.cpp:105:30: error: 'enable_if_t' in namespace 'std' does not name a template type
 using is_signed_int_t = std::enable_if_t<is_signed_int<T>::value>;
                              ^
0_0_37843265_25822.cpp:108:32: error: 'enable_if_t' in namespace 'std' does not name a template type
 using is_unsigned_int_t = std::enable_if_t<is_unsigned_int<T>::value>;
                                ^
0_0_37843265_25822.cpp:168:20: error: 'std::enable_if_t' has not been declared
               std::enable_if_t<std::is_same<T, char>::value>* = nullptr>
                    ^
0_0_37843265_25822.cpp:168:31: error: expected '>' before '<' token
               std::enable_if_t<std::is_same<T, char>::value>* = nullptr>
                               ^
0_0_37843265_25822.cpp:177:25: error: 'yosupo::internal::is_signed_int_t' has not been declared
               internal::is_signed_int_t<T>* = nullptr,
                         ^
0_0_37843265_25822.cpp:177:40: error: expected '>' before '<' token
               internal::is_signed_int_t<T>* = nullptr,
                                        ^
0_0_37843265_25822.cpp:179:10: error: 'template<class T, int <anonymous> > bool yosupo::Scanner::read_single(T&)' cannot be overloaded
     bool read_single(T& sref) {
          ^
0_0_37843265_25822.cpp:169:10: error: with 'template<class T, int <anonymous> > bool yosupo::Scanner::read_single(T&)'
     bool read_single(T& ref) {
          ^
0_0_37843265_25822.cpp:195:25: error: 'yosupo::internal::is_unsigned_int_t' has not been declared
               internal::is_unsigned_int_t<U>* = nullptr,
                         ^
0_0_37843265_25822.cpp:195:42: error: expected '>' before '<' token
               internal::is_unsigned_int_t<U>* = nullptr,
                                          ^
0_0_37843265_25822.cpp:197:10: error: 'template<class U, int <anonymous> > bool yosupo::Scanner::read_single(U&)' cannot be overloaded
     bool read_single(U& ref) {
          ^
0_0_37843265_25822.cpp:169:10: error: with 'template<class T, int <anonymous> > bool yosupo::Scanner::read_single(T&)'
     bool read_single(T& ref) {
          ^
0_0_37843265_25822.cpp: In member function 'int yosupo::Scanner::close()':
0_0_37843265_25822.cpp:139:26: error: '::close' has not been declared
     int close() { return ::close(fd); }
                          ^
0_0_37843265_25822.cpp: In member function 'bool yosupo::Scanner::reread()':
0_0_37843265_25822.cpp:214:18: error: '::read' has not been declared
         auto u = ::read(fd, line.data() + ed, SIZE - ed);
                  ^
0_0_37843265_25822.cpp: At global scope:
0_0_37843265_25822.cpp:287:20: error: 'std::enable_if_t' has not been declared
               std::enable_if_t<std::is_same<char, T>::value>* = nullptr>
                    ^
0_0_37843265_25822.cpp:287:31: error: expected '>' before '<' token
               std::enable_if_t<std::is_same<char, T>::value>* = nullptr>
                               ^
0_0_37843265_25822.cpp:294:25: error: 'yosupo::internal::is_signed_int_t' has not been declared
               internal::is_signed_int_t<T>* = nullptr,
                         ^
0_0_37843265_25822.cpp:294:40: error: expected '>' before '<' token
               internal::is_signed_int_t<T>* = nullptr,
                                        ^
0_0_37843265_25822.cpp:296:10: error: 'template<class T, int <anonymous> > void yosupo::Printer::write_single(const T&)' cannot be overloaded
     void write_single(const T& val) {
          ^
0_0_37843265_25822.cpp:288:10: error: with 'template<class T, int <anonymous> > void yosupo::Printer::write_single(const T&)'
     void write_single(const T& val) {
          ^
0_0_37843265_25822.cpp:311:34: error: 'yosupo::internal::is_unsigned_int_t' has not been declared
     template <class U, internal::is_unsigned_int_t<U>* = nullptr>
                                  ^
0_0_37843265_25822.cpp:311:51: error: expected '>' before '<' token
     template <class U, internal::is_unsigned_int_t<U>* = nullptr>
                                                   ^
0_0_37843265_25822.cpp:322:34: error: 'yosupo::internal::is_unsigned_int_t' has not been declared
     template <class U, internal::is_unsigned_int_t<U>* = nullptr>
                                  ^
0_0_37843265_25822.cpp:322:51: error: expected '>' before '<' token
     template <class U, internal::is_unsigned_int_t<U>* = nullptr>
                                                   ^
0_0_37843265_25822.cpp:332:25: error: 'yosupo::internal::is_unsigned_int_t' has not been declared
               internal::is_unsigned_int_t<U>* = nullptr,
                         ^
0_0_37843265_25822.cpp:332:42: error: expected '>' before '<' token
               internal::is_unsigned_int_t<U>* = nullptr,
                                          ^
0_0_37843265_25822.cpp:352:25: error: 'yosupo::internal::is_unsigned_int_t' has not been declared
               internal::is_unsigned_int_t<U>* = nullptr,
                         ^
0_0_37843265_25822.cpp:352:42: error: expected '>' before '<' token
               internal::is_unsigned_int_t<U>* = nullptr,
                                          ^
0_0_37843265_25822.cpp:354:10: error: 'template<class U, int <anonymous> > void yosupo::Printer::write_unsigned(U)' cannot be overloaded
     void write_unsigned(U uval) {
          ^
0_0_37843265_25822.cpp:334:10: error: with 'template<class U, int <anonymous> > void yosupo::Printer::write_unsigned(U)'
     void write_unsigned(U uval) {
          ^
0_0_37843265_25822.cpp:380:25: error: 'yosupo::internal::is_unsigned_int_t' has not been declared
               internal::is_unsigned_int_t<U>* = nullptr,
                         ^
0_0_37843265_25822.cpp:380:42: error: expected '>' before '<' token
               internal::is_unsigned_int_t<U>* = nullptr,
                                          ^
0_0_37843265_25822.cpp:382:10: error: 'template<class U, int <anonymous> > void yosupo::Printer::write_unsigned(U)' cannot be overloaded
     void write_unsigned(U uval) {
          ^
0_0_37843265_25822.cpp:334:10: error: with 'template<class U, int <anonymous> > void yosupo::Printer::write_unsigned(U)'
     void write_unsigned(U uval) {
          ^
0_0_37843265_25822.cpp:401:14: error: 'std::enable_if_t' has not been declared
         std::enable_if_t<internal::is_unsigned_int128<U>::value>* = nullptr>
              ^
0_0_37843265_25822.cpp:401:25: error: expected '>' before '<' token
         std::enable_if_t<internal::is_unsigned_int128<U>::value>* = nullptr>
                         ^
0_0_37843265_25822.cpp:402:10: error: 'template<class U, int <anonymous> > void yosupo::Printer::write_unsigned(U)' cannot be overloaded
     void write_unsigned(U uval) {
          ^
0_0_37843265_25822.cpp:334:10: error: with 'template<class U, int <anonymous> > void yosupo::Printer::write_unsigned(U)'
     void write_unsigned(U uval) {
          ^
0_0_37843265_25822.cpp: In member function 'void yosupo::Printer::write(const H&, const T& ...)':
0_0_37843265_25822.cpp:251:32: error: no matching function for call to 'yosupo::Printer::write_single(char)'
         if (F) write_single(sep);
                                ^
0_0_37843265_25822.cpp:251:32: note: candidates are:
0_0_37843265_25822.cpp:288:10: note: template<class T, int <anonymous> > void yosupo::Printer::write_single(const T&)
     void write_single(const T& val) {
          ^
0_0_37843265_25822.cpp:288:10: note:   template argument deduction/substitution failed:
0_0_37843265_25822.cpp:251:32: note:   couldn't deduce template parameter '<anonymous>'
         if (F) write_single(sep);
                                ^
0_0_37843265_25822.cpp:312:10: note: template<class U, int <anonymous> > void yosupo::Printer::write_single(U)
     void write_single(U uval) {
          ^
0_0_37843265_25822.cpp:312:10: note:   template argument deduction/substitution failed:
0_0_37843265_25822.cpp:251:32: note:   couldn't deduce template parameter '<anonymous>'
         if (F) write_single(sep);
                                ^
0_0_37843265_25822.cpp:414:10: note: void yosupo::Printer::write_single(const string&)
     void write_single(const std::string& s) {
          ^
0_0_37843265_25822.cpp:414:10: note:   no known conversion for argument 1 from 'char' to 'const string& {aka const std::basic_string<char>&}'
0_0_37843265_25822.cpp:417:10: note: void yosupo::Printer::write_single(const char*) <near match>
     void write_single(const char* s) {
          ^
0_0_37843265_25822.cpp:417:10: note:   no known conversion for argument 1 from 'char' to 'const char*'
0_0_37843265_25822.cpp:421:29: note: template<class T> void yosupo::Printer::write_single(const std::vector<_RealType>&)
     template <class T> void write_single(const std::vector<T>& val) {
                             ^
0_0_37843265_25822.cpp:421:29: note:   template argument deduction/substitution failed:
0_0_37843265_25822.cpp:251:32: note:   mismatched types 'const std::vector<_RealType>' and 'char'
         if (F) write_single(sep);
                                ^
0_0_37843265_25822.cpp: In member function 'void yosupo::Printer::writeln(const T& ...)':
0_0_37843265_25822.cpp:257:26: error: no matching function for call to 'yosupo::Printer::write_single(char)'
         write_single('\n');
                          ^
0_0_37843265_25822.cpp:257:26: note: candidates are:
R


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-06-29 14:16:22, Gzip enabled