Borderou de evaluare (job #512700)

Utilizator cosminvdpruna stefan cosminvd Data 14 decembrie 2010 14:33:37
Problema Qtri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: In file included from /usr/include/c++/4.2/backward/fstream.h:31, from user.cpp:1: /usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. user.cpp:45:3: warning: no newline at end of file user.cpp:5: error: 'float y1' redeclared as different kind of symbol /usr/include/bits/mathcalls.h:242: error: previous declaration of 'double y1(double)' user.cpp: In function 'float ar(int, int, int, int, int, int)': user.cpp:10: error: invalid type argument of 'unary *' user.cpp:10: error: 'y3' cannot be used as a function user.cpp:10: error: expected `)' before ';' token user.cpp: In function 'int main()': user.cpp:27: error: 'n' was not declared in this scope user.cpp:28: error: 'i' was not declared in this scope user.cpp:31: error: ambiguous overload for 'operator>>' in 'f.std::basic_ifstream<char, std::char_traits<char> >::<anonymous>.std::basic_istream<_CharT, _Traits>::operator>> [with _CharT = char, _Traits = std::char_traits<char>](((float&)(& x1))) >> y1' /usr/include/c++/4.2/istream:131: note: candidates are: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>& (*)(std::basic_istream<_CharT, _Traits>&)) [with _CharT = char, _Traits = std::char_traits<char>] <near match> /usr/include/c++/4.2/istream:135: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_ios<_CharT, _Traits>& (*)(std::basic_ios<_CharT, _Traits>&)) [with _CharT = char, _Traits = std::char_traits<char>] <near match> /usr/include/c++/4.2/istream:142: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::ios_base& (*)(std::ios_base&)) [with _CharT = char, _Traits = std::char_traits<char>] <near match> user.cpp:33: error: invalid conversion from 'double (*)(double)throw ()' to 'int' user.cpp:33: error: initializing argument 2 of 'float ar(int, int, int, int, int, int)'

Ceva nu functioneaza?