Borderou de evaluare (job #1283866)

Utilizator ButerezAndreiButerez Andrei ButerezAndrei Data 6 decembrie 2014 03:53:26
Problema Tamplar Status done
Runda Teme Pregatire ACM Unibuc 2014, Anul I Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0, from /usr/include/c++/4.8/ios:40, from /usr/include/c++/4.8/istream:38, from /usr/include/c++/4.8/fstream:38, from user.cpp:1: /usr/include/c++/4.8/bits/stl_algobase.h: In instantiation of ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = int; _OI = int]’: /usr/include/c++/4.8/bits/stl_algobase.h:428:38: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = int; _OI = int]’ /usr/include/c++/4.8/bits/stl_algobase.h:460:17: required from ‘_OI std::copy(_II, _II, _OI) [with _II = int; _OI = int]’ user.cpp:36:28: required from here /usr/include/c++/4.8/bits/stl_algobase.h:381:57: error: no type named ‘value_type’ in ‘struct std::iterator_traits<int>’ typedef typename iterator_traits<_II>::value_type _ValueTypeI; ^ /usr/include/c++/4.8/bits/stl_algobase.h:382:57: error: no type named ‘value_type’ in ‘struct std::iterator_traits<int>’ typedef typename iterator_traits<_OI>::value_type _ValueTypeO; ^ /usr/include/c++/4.8/bits/stl_algobase.h:383:64: error: no type named ‘iterator_category’ in ‘struct std::iterator_traits<int>’ typedef typename iterator_traits<_II>::iterator_category _Category; ^ /usr/include/c++/4.8/bits/stl_algobase.h:387:9: error: no type named ‘value_type’ in ‘struct std::iterator_traits<int>’ && __are_same<_ValueTypeI, _ValueTypeO>::__value); ^ /usr/include/c++/4.8/bits/stl_algobase.h:390:70: error: no type named ‘iterator_category’ in ‘struct std::iterator_traits<int>’ _Category>::__copy_m(__first, __last, __result); ^

Ceva nu functioneaza?