Borderou de evaluare (job #407834)

Utilizator avatar ptlsebi pintilie sebastian ptlsebi IP ascuns
Problemă Baza ascunsă (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 5 dec. 2018 18:40:47 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:5:24: error: no matching function for call to ‘std::basic_istream<char>::basic_istream(const char [11])’ user.cpp:5:24: note: candidates are: /usr/include/c++/4.6/istream:587:7: note: std::basic_istream<_CharT, _Traits>::basic_istream() [with _CharT = char, _Traits = std::char_traits<char>] /usr/include/c++/4.6/istream:587:7: note: candidate expects 0 arguments, 1 provided /usr/include/c++/4.6/istream:93:7: note: std::basic_istream<_CharT, _Traits>::basic_istream(std::basic_istream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_istream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf<char>] /usr/include/c++/4.6/istream:93:7: note: no known conversion for argument 1 from ‘const char [11]’ to ‘std::basic_istream<char>::__streambuf_type* {aka std::basic_streambuf<char>*}’ user.cpp:12:13: error: expected ‘)’ before ‘;’ token user.cpp:12:14: error: expected primary-expression before ‘)’ token user.cpp:12:14: error: expected ‘;’ before ‘)’ token