Borderou de evaluare (job #255724)

Utilizator avatar marcoazar Azarmaneche Marco marcoazar IP ascuns
Problemă Minnr (clasa a 5-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 15 nov. 2016 12:06:15 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6:24: error: no matching function for call to ‘std::basic_ostream<char>::basic_ostream(const char [10])’ user.cpp:6:24: note: candidates are: /usr/include/c++/4.6/ostream:363:7: note: std::basic_ostream<_CharT, _Traits>::basic_ostream() [with _CharT = char, _Traits = std::char_traits<char>] /usr/include/c++/4.6/ostream:363:7: note: candidate expects 0 arguments, 1 provided /usr/include/c++/4.6/ostream:84:7: note: std::basic_ostream<_CharT, _Traits>::basic_ostream(std::basic_ostream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf<char>] /usr/include/c++/4.6/ostream:84:7: note: no known conversion for argument 1 from ‘const char [10]’ to ‘std::basic_ostream<char>::__streambuf_type* {aka std::basic_streambuf<char>*}’ user.cpp: In function ‘int main()’: user.cpp:13:5: error: ‘cin’ was not declared in this scope user.cpp:28:17: error: ‘cout’ was not declared in this scope user.cpp:42:9: error: ‘cout’ was not declared in this scope user.cpp:12:25: warning: unused variable ‘x’ [-Wunused-variable]