Borderou de evaluare (job #375677)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Turist (clasa a 8-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 3 apr. 2018 10:57:09 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:12:15: 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:21: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:22:37: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:22:38: error: invalid operands of types ‘double’ and ‘double (*)(double)throw ()’ to binary ‘operator/’