Borderou de evaluare (job #1111978)
Utilizator | Data | 19 februarie 2014 12:13:27 | |
---|---|---|---|
Problema | Taxa | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/local/include/c++/4.8.0/bits/char_traits.h:39:0,
from /usr/local/include/c++/4.8.0/ios:40,
from /usr/local/include/c++/4.8.0/istream:38,
from /usr/local/include/c++/4.8.0/fstream:38,
from user.cpp:1:
/usr/local/include/c++/4.8.0/bits/stl_algobase.h: In instantiation of ‘typename __gnu_cxx::__enable_if<std::__is_scalar<_Tp>::__value, void>::__type std::__fill_a(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = int; _Tp = short int; typename __gnu_cxx::__enable_if<std::__is_scalar<_Tp>::__value, void>::__type = void]’:
/usr/local/include/c++/4.8.0/bits/stl_algobase.h:729:14: required from ‘void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = int; _Tp = short int]’
user.cpp:30:36: required from here
/usr/local/include/c++/4.8.0/bits/stl_algobase.h:693:2: error: invalid type argument of unary ‘*’ (have ‘int’)
*__first = __tmp;
^
/usr/local/include/c++/4.8.0/bits/stl_algobase.h: In instantiation of ‘typename __gnu_cxx::__enable_if<std::__is_scalar<_Tp>::__value, void>::__type std::__fill_a(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = int; _Tp = int; typename __gnu_cxx::__enable_if<std::__is_scalar<_Tp>::__value, void>::__type = void]’:
/usr/local/include/c++/4.8.0/bits/stl_algobase.h:729:14: required from ‘void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = int; _Tp = int]’
user.cpp:51:22: required from here
/usr/local/include/c++/4.8.0/bits/stl_algobase.h:693:2: error: invalid type argument of unary ‘*’ (have ‘int’)
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !