QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#155104#6409. Classical Data Structure Problemquasar#Compile Error//C++233.2kb2023-09-01 10:59:072023-09-01 10:59:08

詳細信息

In file included from /usr/include/c++/11/functional:54,
                 from /usr/include/c++/11/pstl/glue_algorithm_defs.h:13,
                 from /usr/include/c++/11/algorithm:74,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:65,
                 from answer.code:2:
/usr/include/c++/11/tuple: In instantiation of ‘constexpr const size_t std::tuple_size_v<int>’:
/usr/include/c++/11/tuple:1816:24:   required from ‘constexpr decltype(auto) std::apply(_Fn&&, _Tuple&&) [with _Fn = node&; _Tuple = int&]’
answer.code:78:34:   required from here
/usr/include/c++/11/tuple:1334:61: error: incomplete type ‘std::tuple_size<int>’ used in nested name specifier
 1334 |     inline constexpr size_t tuple_size_v = tuple_size<_Tp>::value;
      |                                                             ^~~~~