QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#474232 | #3098. Ancient Machine | egypt_ioi2024b_04 | Compile Error | / | / | C++20 | 2.5kb | 2024-07-12 16:49:47 | 2024-07-12 16:49:48 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Bruno.code: In function ‘void Bruno(int, int, std::vector<int>)’: Bruno.code:34:22: error: ‘min’ was not declared in this scope 34 | id = min(id, j); | ^~~ Bruno.code:34:22: note: suggested alternatives: In file included from /usr/include/c++/10/vector:62, from Bruno.h:1, from Bruno.code:1: /usr/include/c++/10/bits/stl_algo.h:3479:5: note: ‘std::min’ 3479 | min(initializer_list<_Tp> __l, _Compare __comp) | ^~~ In file included from /usr/include/c++/10/algorithm:64, from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65, from Bruno.code:2: /usr/include/c++/10/bits/ranges_algo.h:3165:29: note: ‘std::ranges::min’ 3165 | inline constexpr __min_fn min{}; | ^~~