Borderou de evaluare (job #122531)

Utilizator adrianraduleaRadulea Adrian adrianradulea Data 12 ianuarie 2008 18:25:55
Problema A+B Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: 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:3:11: warning: character constant too long for its type user.cpp:3:44: warning: character constant too long for its type user.cpp:8:2: warning: no newline at end of file user.cpp:3: error: invalid conversion from 'int' to 'const char*' user.cpp:3: error: initializing argument 1 of 'std::basic_fstream<_CharT, _Traits>::basic_fstream(const char*, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]' user.cpp:3: error: invalid conversion from 'int' to 'const char*' user.cpp:3: error: initializing argument 1 of 'std::basic_fstream<_CharT, _Traits>::basic_fstream(const char*, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]' user.cpp:5: error: '::main' must return 'int'

Ceva nu functioneaza?