0_0_36617622_16096.cpp:9:16: error: template declaration of 'constexpr const bool std::is_same_v'
constexpr bool is_same_v = is_same<T, U>::value;
^
0_0_36617622_16096.cpp:12:16: error: template declaration of 'constexpr const bool std::is_integral_v'
constexpr bool is_integral_v = is_integral<T>::value;
^
0_0_36617622_16096.cpp:15:16: error: template declaration of 'constexpr const bool std::is_floating_point_v'
constexpr bool is_floating_point_v = is_floating_point<T>::value;
^
0_0_36617622_16096.cpp:18:16: error: template declaration of 'constexpr const bool std::is_unsigned_v'
constexpr bool is_unsigned_v = is_unsigned<T>::value;
^
0_0_36617622_16096.cpp:21:16: error: template declaration of 'constexpr const bool std::is_signed_v'
constexpr bool is_signed_v = is_signed<T>::value;
^
0_0_36617622_16096.cpp:104:27: error: 'is_same_v' is not a member of 'std'
inline std::enable_if_t<!std::is_same_v<T, char>&& std::is_integral_v<T>&& std::is_unsigned_v<T>, bool> read(T& x)
^
0_0_36617622_16096.cpp:104:49: error: template argument 1 is invalid
inline std::enable_if_t<!std::is_same_v<T, char>&& std::is_integral_v<T>&& std::is_unsigned_v<T>, bool> read(T& x)
^
0_0_36617622_16096.cpp:104:71: error: expected initializer before '<' token
inline std::enable_if_t<!std::is_same_v<T, char>&& std::is_integral_v<T>&& std::is_unsigned_v<T>, bool> read(T& x)
^
0_0_36617622_16096.cpp:116:27: error: 'is_same_v' is not a member of 'std'
inline std::enable_if_t<!std::is_same_v<T, char>&& std::is_integral_v<T>&& std::is_signed_v<T>, bool> read(T& x)
^
0_0_36617622_16096.cpp:116:49: error: template argument 1 is invalid
inline std::enable_if_t<!std::is_same_v<T, char>&& std::is_integral_v<T>&& std::is_signed_v<T>, bool> read(T& x)
^
0_0_36617622_16096.cpp:116:71: error: expected initializer before '<' token
inline std::enable_if_t<!std::is_same_v<T, char>&& std::is_integral_v<T>&& std::is_signed_v<T>, bool> read(T& x)
^
0_0_36617622_16096.cpp:134:26: error: 'is_floating_point_v' is not a member of 'std'
inline std::enable_if_t<std::is_floating_point_v<T>, bool> read(T& x)
^
0_0_36617622_16096.cpp:134:26: error: 'is_floating_point_v' is not a member of 'std'
0_0_36617622_16096.cpp:134:52: error: template argument 1 is invalid
inline std::enable_if_t<std::is_floating_point_v<T>, bool> read(T& x)
^
0_0_36617622_16096.cpp:134:53: error: expected unqualified-id before ',' token
inline std::enable_if_t<std::is_floating_point_v<T>, bool> read(T& x)
^
0_0_36617622_16096.cpp:197:27: error: 'is_same_v' is not a member of 'std'
inline std::enable_if_t<!std::is_same_v<T, char>&& std::is_integral_v<T>&& std::is_unsigned_v<T>, void> write(T x)
^
0_0_36617622_16096.cpp:197:49: error: template argument 1 is invalid
inline std::enable_if_t<!std::is_same_v<T, char>&& std::is_integral_v<T>&& std::is_unsigned_v<T>, void> write(T x)
^
0_0_36617622_16096.cpp:197:71: error: expected initializer before '<' token
inline std::enable_if_t<!std::is_same_v<T, char>&& std::is_integral_v<T>&& std::is_unsigned_v<T>, void> write(T x)
^
0_0_36617622_16096.cpp:212:27: error: 'is_same_v' is not a member of 'std'
inline std::enable_if_t<!std::is_same_v<T, char>&& std::is_integral_v<T>&& std::is_unsigned_v<T>, void> write_number(T x, int fill)
^
0_0_36617622_16096.cpp:212:49: error: template argument 1 is invalid
inline std::enable_if_t<!std::is_same_v<T, char>&& std::is_integral_v<T>&& std::is_unsigned_v<T>, void> write_number(T x, int fill)
^
0_0_36617622_16096.cpp:212:71: error: expected initializer before '<' token
inline std::enable_if_t<!std::is_same_v<T, char>&& std::is_integral_v<T>&& std::is_unsigned_v<T>, void> write_number(T x, int fill)
^
0_0_36617622_16096.cpp:229:27: error: 'is_same_v' is not a member of 'std'
inline std::enable_if_t<!std::is_same_v<T, char>&& std::is_integral_v<T>&& std::is_signed_v<T>, void> write(const T& x)
^
0_0_36617622_16096.cpp:229:49: error: template argument 1 is invalid
inline std::enable_if_t<!std::is_same_v<T, char>&& std::is_integral_v<T>&& std::is_signed_v<T>, void> write(const T& x)
^
0_0_36617622_16096.cpp:229:71: error: expected initializer before '<' token
inline std::enable_if_t<!std::is_same_v<T, char>&& std::is_integral_v<T>&& std::is_signed_v<T>, void> write(const T& x)
^
0_0_36617622_16096.cpp: In function 'void io::write_float(double, int)':
0_0_36617622_16096.cpp:249:28: error: 'write_number' was not declared in this scope
write_number(b, precision);
^
0_0_36617622_16096.cpp: At global scope:
0_0_36617622_16096.cpp:253:26: error: 'is_floating_point_v' is not a member of 'std'
inline std::enable_if_t<std::is_floating_point_v<T>, void> write(const T& x)
^
0_0_36617622_16096.cpp:253:26: error: 'is_floating_point_v' is not a member of 'std'
0_0_36617622_16096.cpp:253:52: error: template argument 1 is invalid
inline std::enable_if_t<std::is_floating_point_v<T>, void> write(const T& x)
^
0_0_36617622_16096.cpp:253:53: error: expected unqualified-id before ',' token
inline std::enable_if_t<std::is_floating_point_v<T>, void> write(const T& x)
^
0_0_36617622_16096.cpp: In member function 'int data_structure::SegmentTree<ValueType, ValueMerge, TagType, TagMerge, TagSpread>::FindFirst(int, const Checker&)':
0_0_36617622_16096.cpp:563:56: error: expected ')' before ';' token
if (ValueType tmp = value_merge(cur, value[left]); !check(tmp))
^
0_0_36617622_16096.cpp:563:65: error: 'tmp' was not declared in this scope
if (ValueType tmp = value_merge(cur, value[left]); !check(tmp))
^
0_0_36617622_16096.cpp:563:69: error: expected ';' before ')' token
if (ValueType tmp = value_merge(cur, value[left]); !check(tmp))
^
0_0_36617622_16096.cpp: In member function 'int data_structure::SegmentTree<ValueType, ValueMerge, TagType, TagMerge, TagSpread>::FindLast(int, const Checker&)':
0_0_36617622_16096.cpp:594:57: error: expected ')' before ';' token
if (ValueType tmp = value_merge(value[right], cur); !check(tmp))
^
0_0_36617622_16096.cpp:594:66: error: 'tmp' was not declared in this scope
if (ValueType tmp = value_merge(value[right], cur); !check(tmp))
^
0_0_36617622_16096.cpp:594:70: error: expected ';' before ')' token
if (ValueType tmp = value_merge(value[right], cur); !check(tmp))
^
0_0_36617622_16096.cpp: In constructor 'data_structure::SparseTable<ValueType, Operation>::SparseTable(InputIt, InputIt, const Operation&)':
0_0_36617622_16096.cpp:637:36: error: expected ')' before ';' token
if (int j = i + (1 << (k - 1)); j < size)
^
0_0_36617622_16096.cpp:637:38: error: 'j' was not declared in this scope
if (int j = i + (1 << (k - 1)); j < size)
^
0_0_36617622_16096.cpp: In instantiation of 'bool io::read(T&, Args& ...) [with T = int; Args = {}]':
0_0_36617622_16096.cpp:173:16: required from 'bool io::read(T&, Args& ...) [with T = int; Args = {int, char [100010]}]'
0_0_36617622_16096.cpp:874:14: required from here
0_0_36617622_16096.cpp:173:33: error: no matching function for call to 'read()'
return read(x) && read(args...);
^
0_0_36617622_16096.cpp:173:33: note: candidates are:
0_0_36617622_16096.cpp:75:21: note: bool io::read(char&)
static inline bool read(char& x)
^
0_0_36617622_16096.cpp:75:21: note: candidate expects 1 argument, 0 provided
0_0_36617622_16096.cpp:92:21: note: bool io::read(char*)
static inline bool read(char* x)
^
0_0_36617622_16096.cpp:92:21: note: candidate expects 1 argument, 0 provided
0_0_36617622_16096.cpp:171:7: note: template<class T, class ... Args> bool io::read(T&, Args& ...)
bool read(T& x, Args&... args)
^
0_0_36617622_16096.cpp:171:7: note: template argument deduction/substitution failed:
0_0_36617622_16096.cpp:173:33: note: candidate expects 2 arguments, 0 provided
return read(x) && read(args...);
^
|