Borderou de evaluare (job #2524433)
Utilizator | Data | 15 ianuarie 2020 18:10:55 | |
---|---|---|---|
Problema | Yinyang | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void solve()':
main.cpp:78:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int l = 0; l < ord.size(); l++) {
~~^~~~~~~~~~~~
main.cpp:94:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int l = 0; l < ord.size(); l++) {
~~^~~~~~~~~~~~
In file included from /usr/include/c++/6/vector:60:0,
from main.cpp:3:
/usr/include/c++/6/bits/stl_algobase.h: In instantiation of '_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = true; _II = int; _OI = int]':
/usr/include/c++/6/bits/stl_algobase.h:422:45: required from '_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = true; _II = int; _OI = int]'
/usr/include/c++/6/bits/stl_algobase.h:487:39: required from '_OI std::move(_II, _II, _OI) [with _II = int; _OI = int]'
main.cpp:81:22: required from here
/usr/include/c++/6/bits/stl_algobase.h:377:57: error: no type named 'value_type' in 'struct std::iterator_traits<int>'
typedef typename iterator_traits<_II>::value_type _ValueTypeI;
^~~~~~~~~~~
/usr/include/c++/6/bits/stl_algobase.h:378:57: error: no type named 'value_type' in 'struct std::iterator_traits<int>'
typedef typename iterator_traits<_OI>::value_type _ValueTypeO;
^~~~~~~~~~~
/usr/include/c++/6/bits/stl_algobase.h:379:64: error: no type named 'iterator_category' in 'struct std::iterator_traits<int>'
typedef typename iterator_traits<_II>::iterator_category _Category;
^~~~~~~~~
/usr/include/c++/6/bits/stl_algobase.h:383:9: error: no type named 'value_type' in 'struct std::iterator_traits<int>'
const bool __simple = (__is_trivial(_ValueTypeI)
~~~~~~~~~~~~~~~~~~~~~~~~~~
&& __is_pointer<_II>::__value
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&& __is_pointer<_OI>::__value
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&& __are_same<_ValueTypeI, _ValueTypeO>::__value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_algobase.h:386:44: error: no type named 'iterator_category' in 'struct std::iterator_traits<int>'
return std::__copy_move<_IsMove, __simple,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_Category>::__copy_m(__first, __last, __result);
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !