Borderou de evaluare (job #3174198)
Utilizator | Data | 24 noiembrie 2023 13:25:55 | |
---|---|---|---|
Problema | Mine | Status | done |
Runda | lervs_11_12_schooldays | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/include/c++/12.2.1/set:61,
from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:87,
from main.cpp:1:
/usr/include/c++/12.2.1/bits/stl_set.h: In instantiation of 'class std::set<std::pair<int, int>, std::vector<std::pair<int, int> >, std::greater<std::pair<int, int> > >':
main.cpp:18:70: required from here
/usr/include/c++/12.2.1/bits/stl_set.h:111:65: error: no type named 'value_type' in 'struct std::greater<std::pair<int, int> >'
111 | static_assert(is_same<typename _Alloc::value_type, _Key>::value,
| ^~~~~
/usr/include/c++/12.2.1/bits/stl_set.h:129:29: error: no type named 'value_type' in 'struct std::greater<std::pair<int, int> >'
129 | rebind<_Key>::other _Key_alloc_type;
| ^~~~~~~~~~~~~~~
/usr/include/c++/12.2.1/bits/stl_set.h:132:54: error: no type named 'value_type' in 'struct std::greater<std::pair<int, int> >'
132 | key_compare, _Key_alloc_type> _Rep_type;
| ^~~~~~~~~
/usr/include/c++/12.2.1/bits/stl_set.h:135:58: error: no type named 'value_type' in 'struct std::greater<std::pair<int, int> >'
135 | typedef __gnu_cxx::__alloc_traits<_Key_alloc_type> _Alloc_traits;
| ^~~~~~~~~~~~~
/usr/include/c++/12.2.1/bits/stl_set.h:140:58: error: no type named 'value_type' in 'struct std::greater<std::pair<int, int> >'
140 | typedef typename _Alloc_traits::pointer pointer;
| ^~~~~~~
/usr/include/c++/12.2.1/bits/stl_set.h:141:58: error: no type named 'value_type' in 'struct std::greater<std::pair<int, int> >'
141 | typedef typename _Alloc_traits::const_pointer const_pointer;
| ^~~~~~~~~~~~~
/usr/include/c++/12.2.1/bits/stl_set.h:142:58: error: no type named 'value_type' in 'struct std::greater<std::pair<int, int> >'
142 | typedef typename _Alloc_traits::reference reference;
| ^~~~~~~~~
/usr/include/c++/12.2.1/bits/stl_set.h:143:58: error: no type named 'value_type' in 'struct std::greater<std::pair<int, int> >'
143 | typedef typename _Alloc_traits::const_reference const_reference;
| ^~~~~~~~~~~~~~~
/usr/include/c++/12.2.1/bits/stl_set.h:147:58: error: no type named 'value_type' in 'struct std::greater<std::pair<int, int> >'
147 | typedef typename _Rep_type::const_iterator iterator;
| ^~~~~~~~
/usr/include/c++/12.2.1/bits/stl_set.h:148:58: error: no type named 'value_type' in 'struct std::greater<std::pair<int, int> >'
148 | typedef typename _Rep_type::const_iterator const_iterator;
| ^~~~~~~~~~~~~~
/usr/include/c++/12.2.1/bits/stl_set.h:149:58: error: no type named 'value_type' in 'struct std::greater<std::pair<int, int> >'
149 | typedef typename _Rep_type::const_reverse_iterator reverse_iterator;
| ^~~~~~~~~~~~~~~~
/usr/include/c++/12.2.1/bits/stl_set.h:150:58: error: no type named 'value_type' in 'struct std::greater<std::pair<int, int> >'
150 | typedef typename _Rep_type::const_reverse_iterator const_reverse_iterator;
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/12.2.1/bits/stl_set.h:151:58: error: no type named 'value_type' in 'struct std::greater<std::pair<int, int> >'
151 | typedef typename _Rep_type::size_type size_type;
| ^~~~~~~~~
/usr/include/c++/12.2.1/bits/stl_set.h:152:58: error: no type named 'value_type' in 'struct std::greater<std::pair<int, int> >'
152 | typedef typename _Rep_type::difference_type difference_type;
| ^~~~~~~~~~~~~~~
/usr/include/c++/12.2.1/bits/stl_set.h:156:13: error: no type named 'value_type' in 'struct std::greater<std::pair<int, int> >'
156 | using node_type = typename _Rep_type::node_type;
| ^~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !