0_0_36617491_15255.cpp:77:14: error: 'enable_if_t' in namespace 'std' does not name a template type
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_36617491_15255.cpp:89:14: error: 'enable_if_t' in namespace 'std' does not name a template type
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_36617491_15255.cpp:107:14: error: 'enable_if_t' in namespace 'std' does not name a template type
inline std::enable_if_t<std::is_floating_point_v<T>, bool> read(T& x)
^
0_0_36617491_15255.cpp:170:14: error: 'enable_if_t' in namespace 'std' does not name a template type
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_36617491_15255.cpp:185:14: error: 'enable_if_t' in namespace 'std' does not name a template type
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_36617491_15255.cpp:202:14: error: 'enable_if_t' in namespace 'std' does not name a template type
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_36617491_15255.cpp: In function 'void io::write_float(double, int)':
0_0_36617491_15255.cpp:222:28: error: 'write_number' was not declared in this scope
write_number(b, precision);
^
0_0_36617491_15255.cpp: At global scope:
0_0_36617491_15255.cpp:226:14: error: 'enable_if_t' in namespace 'std' does not name a template type
inline std::enable_if_t<std::is_floating_point_v<T>, void> write(const T& x)
^
0_0_36617491_15255.cpp: In function 'T io::next()':
0_0_36617491_15255.cpp:253:10: error: 'move' is not a member of 'std'
return std::move(x);
^
0_0_36617491_15255.cpp: In member function 'int data_structure::SegmentTree<ValueType, ValueMerge, TagType, TagMerge, TagSpread>::FindFirst(int, const Checker&)':
0_0_36617491_15255.cpp:536:56: error: expected ')' before ';' token
if (ValueType tmp = value_merge(cur, value[left]); !check(tmp))
^
0_0_36617491_15255.cpp:536:65: error: 'tmp' was not declared in this scope
if (ValueType tmp = value_merge(cur, value[left]); !check(tmp))
^
0_0_36617491_15255.cpp:536:69: error: expected ';' before ')' token
if (ValueType tmp = value_merge(cur, value[left]); !check(tmp))
^
0_0_36617491_15255.cpp: In member function 'int data_structure::SegmentTree<ValueType, ValueMerge, TagType, TagMerge, TagSpread>::FindLast(int, const Checker&)':
0_0_36617491_15255.cpp:567:57: error: expected ')' before ';' token
if (ValueType tmp = value_merge(value[right], cur); !check(tmp))
^
0_0_36617491_15255.cpp:567:66: error: 'tmp' was not declared in this scope
if (ValueType tmp = value_merge(value[right], cur); !check(tmp))
^
0_0_36617491_15255.cpp:567:70: error: expected ';' before ')' token
if (ValueType tmp = value_merge(value[right], cur); !check(tmp))
^
0_0_36617491_15255.cpp: In constructor 'data_structure::SparseTable<ValueType, Operation>::SparseTable(InputIt, InputIt, const Operation&)':
0_0_36617491_15255.cpp:610:36: error: expected ')' before ';' token
if (int j = i + (1 << (k - 1)); j < size)
^
0_0_36617491_15255.cpp:610:38: error: 'j' was not declared in this scope
if (int j = i + (1 << (k - 1)); j < size)
^
0_0_36617491_15255.cpp: In function 'void solve()':
0_0_36617491_15255.cpp:955:13: error: expected unqualified-id before '[' token
for (auto& [x, y, id] : task)
^
0_0_36617491_15255.cpp:955:13: error: expected ';' before '[' token
0_0_36617491_15255.cpp:955:14: error: 'x' was not declared in this scope
for (auto& [x, y, id] : task)
^
0_0_36617491_15255.cpp:955:17: error: 'y' was not declared in this scope
for (auto& [x, y, id] : task)
^
0_0_36617491_15255.cpp:955:20: error: 'id' was not declared in this scope
for (auto& [x, y, id] : task)
^
0_0_36617491_15255.cpp: In lambda function:
0_0_36617491_15255.cpp:955:24: error: expected '{' before ':' token
for (auto& [x, y, id] : task)
^
0_0_36617491_15255.cpp: In function 'void solve()':
0_0_36617491_15255.cpp:955:24: error: expected ';' before ':' token
0_0_36617491_15255.cpp:955:24: error: expected primary-expression before ':' token
0_0_36617491_15255.cpp:955:24: error: expected ')' before ':' token
0_0_36617491_15255.cpp:955:24: error: expected primary-expression before ':' token
0_0_36617491_15255.cpp: In instantiation of 'bool io::read(T&, Args& ...) [with T = int; Args = {}]':
0_0_36617491_15255.cpp:146:16: required from 'bool io::read(T&, Args& ...) [with T = int; Args = {int, char [100010]}]'
0_0_36617491_15255.cpp:843:14: required from here
0_0_36617491_15255.cpp:146:33: error: no matching function for call to 'read()'
return read(x) && read(args...);
^
0_0_36617491_15255.cpp:146:33: note: candidates are:
0_0_36617491_15255.cpp:48:21: note: bool io::read(char&)
static inline bool read(char& x)
^
0_0_36617491_15255.cpp:48:21: note: candidate expects 1 argument, 0 provided
0_0_36617491_15255.cpp:65:21: note: bool io::read(char*)
static inline bool read(char* x)
^
0_0_36617491_15255.cpp:65:21: note: candidate expects 1 argument, 0 provided
0_0_36617491_15255.cpp:144:7: note: template<class T, class ... Args> bool io::read(T&, Args& ...)
bool read(T& x, Args&... args)
^
0_0_36617491_15255.cpp:144:7: note: template argument deduction/substitution failed:
0_0_36617491_15255.cpp:146:33: note: candidate expects 2 arguments, 0 provided
return read(x) && read(args...);
^
|