QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#68579#5208. Jumbled TreeslarryzhongCompile Error//C++173.1kb2022-12-17 13:50:062022-12-17 13:50:07

詳細信息

In file included from /usr/include/c++/11/algorithm:62,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:65,
                 from answer.code:1:
/usr/include/c++/11/bits/stl_algo.h: In instantiation of ‘void std::shuffle(_RAIter, _RAIter, _UGenerator&&) [with _RAIter = __gnu_cxx::__normal_iterator<std::tuple<int, int, int>*, std::vector<std::tuple<int, int, int> > >; _UGenerator = std::vector<std::tuple<int, int, int> >&]’:
answer.code:58:10:   required from here
/usr/include/c++/11/bits/stl_algo.h:3750:9: error: no type named ‘result_type’ in ‘std::remove_reference<std::vector<std::tuple<int, int, int> >&>::type’ {aka ‘class std::vector<std::tuple<int, int, int> >’}
 3750 |         __uc_type;
      |         ^~~~~~~~~
/usr/include/c++/11/bits/stl_algo.h:3778:44: error: no type named ‘result_type’ in ‘std::remove_reference<std::vector<std::tuple<int, int, int> >&>::type’ {aka ‘class std::vector<std::tuple<int, int, int> >’}
 3778 |           const pair<__uc_type, __uc_type> __pospos =
      |                                            ^~~~~~~~
/usr/include/c++/11/bits/stl_algo.h:3778:44: error: no type named ‘result_type’ in ‘std::remove_reference<std::vector<std::tuple<int, int, int> >&>::type’ {aka ‘class std::vector<std::tuple<int, int, int> >’}