QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#483589 | #2809. Present | egypt_ioi2024_03# | Compile Error | / | / | C++20 | 3.0kb | 2024-07-18 20:00:38 | 2024-07-18 20:00:38 |
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:122:20: error: ‘begin’ was not declared in this scope 122 | for(auto v:sz){ | ^~ answer.code:122:20: note: suggested alternatives: In file included from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:166, from answer.code:1: /usr/include/c++/13/valarray:1232:5: note: ‘std::begin’ 1232 | begin(const valarray<_Tp>& __va) noexcept | ^~~~~ In file included from /usr/include/c++/13/bits/ranges_algobase.h:38, from /usr/include/c++/13/bits/ranges_algo.h:38, from /usr/include/c++/13/algorithm:63, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:51: /usr/include/c++/13/bits/ranges_base.h:489:44: note: ‘std::ranges::__cust::begin’ 489 | inline constexpr __cust_access::_Begin begin{}; | ^~~~~ In file included from /usr/include/c++/13/filesystem:50, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:200: /usr/include/c++/13/bits/fs_dir.h:607:3: note: ‘std::filesystem::__cxx11::begin’ 607 | begin(recursive_directory_iterator __iter) noexcept | ^~~~~ In file included from /usr/include/c++/13/bits/stl_iterator_base_types.h:71, from /usr/include/c++/13/bits/stl_algobase.h:65, from /usr/include/c++/13/algorithm:60: /usr/include/c++/13/bits/iterator_concepts.h:969:10: note: ‘std::ranges::__cust_access::begin’ 969 | void begin(const auto&) = delete; | ^~~~~ answer.code:122:20: error: ‘end’ was not declared in this scope 122 | for(auto v:sz){ | ^~ answer.code:122:20: note: suggested alternatives: /usr/include/c++/13/valarray:1259:5: note: ‘std::end’ 1259 | end(const valarray<_Tp>& __va) noexcept | ^~~ /usr/include/c++/13/bits/ranges_base.h:490:42: note: ‘std::ranges::__cust::end’ 490 | inline constexpr __cust_access::_End end{}; | ^~~ /usr/include/c++/13/bits/fs_dir.h:612:3: note: ‘std::filesystem::__cxx11::end’ 612 | end(recursive_directory_iterator) noexcept | ^~~ /usr/include/c++/13/bits/ranges_base.h:137:10: note: ‘std::ranges::__cust_access::end’ 137 | void end(const auto&) = delete; | ^~~