Borderou de evaluare (job #545407)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Dispozitiv (Lot Juniori) | Compilator | cpp |
Rundă | lasm_19_03_2020_cl_12_a | Status | evaluat |
Dată | 19 mar. 2020 13:35:25 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:11:38: error: ‘int y1’ redeclared as different kind of symbol
/usr/include/i386-linux-gnu/bits/mathcalls.h:243:1: error: previous declaration of ‘double y1(double)’
user.cpp: In function ‘int main()’:
user.cpp:24:18: error: cannot bind ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ lvalue to ‘std::basic_istream<char>&&’
/usr/include/c++/4.6/istream:852:5: error: initializing argument 1 of ‘std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&&, _Tp&) [with _CharT = char, _Traits = std::char_traits<char>, _Tp = double(double)throw ()]’
user.cpp:27:29: error: no matching function for call to ‘min(double (&)(double)throw (), const int&)’
user.cpp:27:29: note: candidates are:
/usr/include/c++/4.6/bits/stl_algobase.h:187:5: note: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&)
/usr/include/c++/4.6/bits/stl_algobase.h:233:5: note: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare)
user.cpp:28:29: error: no matching function for call to ‘max(double (&)(double)throw (), const int&)’
user.cpp:28:29: note: candidates are:
/usr/include/c++/4.6/bits/stl_algobase.h:210:5: note: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
/usr/include/c++/4.6/bits/stl_algobase.h:254:5: note: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)