Borderou de evaluare (job #414937)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Bila | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 2 ian. 2019 09:08:47 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:12: error: ‘int y0’ redeclared as different kind of symbol
/usr/include/i386-linux-gnu/bits/mathcalls.h:242:1: error: previous declaration of ‘double y0(double)’
user.cpp: In function ‘void BT(int, int, int)’:
user.cpp:18:36: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
user.cpp:18:52: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
user.cpp:18:68: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
user.cpp: In function ‘int main()’:
user.cpp:35:14: 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:36:19: error: invalid conversion from ‘double (*)(double)throw ()’ to ‘int’ [-fpermissive]
/usr/include/c++/4.6/bits/stl_pair.h:103:26: error: initializing argument 2 of ‘constexpr std::pair<_T1, _T2>::pair(const _T1&, const _T2&) [with _T1 = int, _T2 = int]’ [-fpermissive]
user.cpp:37:16: error: invalid conversion from ‘double (*)(double)throw ()’ to ‘int’ [-fpermissive]
user.cpp:17:6: error: initializing argument 2 of ‘void BT(int, int, int)’ [-fpermissive]