Borderou de evaluare (job #371884)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Flori | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 27 mar. 2018 19:13:15 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:11:35: error: ‘int y1 [1001]’ 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:16:42: error: ISO C++ forbids applying ‘sizeof’ to an expression of function type [-fpermissive]
user.cpp:25:25: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:25:25: 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:31:23: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:31:23: error: invalid conversion from ‘double (*)(double)throw ()’ to ‘int’ [-fpermissive]
user.cpp:15:9: warning: unused variable ‘s’ [-Wunused-variable]