Borderou de evaluare (job #1840380)
| Utilizator | Data | 4 ianuarie 2017 13:11:44 | |
|---|---|---|---|
| Problema | Insule | Status | done |
| Runda | x_test67 | 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 ‘typename __gnu_cxx::__enable_if<std::__is_scalar<_Tp>::__value, void>::__type std::__fill_a(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = short int; _Tp = short int; typename __gnu_cxx::__enable_if<std::__is_scalar<_Tp>::__value, void>::__type = void]’:
/usr/include/c++/4.8/bits/stl_algobase.h:729:14: required from ‘void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = short int; _Tp = short int]’
user.cpp:56:57: required from here
/usr/include/c++/4.8/bits/stl_algobase.h:693:2: error: invalid type argument of unary ‘*’ (have ‘short int’)
*__first = __tmp;
^
user.cpp: In function ‘int lee()’:
user.cpp:35:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
