QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#335856 | #8267. Staring Contest | hyforces# | Compile Error | / | / | C++20 | 1.4kb | 2024-02-24 07:20:36 | 2024-04-28 08:41:55 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:13:12: error: no matching function for call to ‘shuffle(std::vector<int>::iterator, std::vector<int>::iterator)’ 13 | shuffle(pro.begin(),pro.end()); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/algorithm:61, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:51, from answer.code:1: /usr/include/c++/13/bits/stl_algo.h:3742:5: note: candidate: ‘template<class _RAIter, class _UGenerator> void std::shuffle(_RAIter, _RAIter, _UGenerator&&)’ 3742 | shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last, | ^~~~~~~ /usr/include/c++/13/bits/stl_algo.h:3742:5: note: template argument deduction/substitution failed: answer.code:13:12: note: candidate expects 3 arguments, 2 provided 13 | shuffle(pro.begin(),pro.end()); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~