Borderou de evaluare (job #350017)

Utilizator avatar TUDORGO2 Ivan Tudor TUDORGO2 IP ascuns
Problemă Comanda (clasa 5-6) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 8 feb. 2018 09:40:09 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:11:11: warning: character constant too long for its type [enabled by default] user.cpp:15:11: warning: character constant too long for its type [enabled by default] user.cpp:19:11: warning: character constant too long for its type [enabled by default] user.cpp:23:11: warning: character constant too long for its type [enabled by default] user.cpp:27:11: warning: character constant too long for its type [enabled by default] user.cpp:31:11: warning: multi-character character constant [-Wmultichar] user.cpp:35:11: warning: character constant too long for its type [enabled by default] user.cpp:39:11: warning: character constant too long for its type [enabled by default] user.cpp:43:11: warning: character constant too long for its type [enabled by default] user.cpp:47:11: warning: character constant too long for its type [enabled by default] user.cpp: In function ‘int main()’: user.cpp:10:10: error: cannot bind ‘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 = std::basic_string<char> [2000]]’ user.cpp:11:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] user.cpp:15:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] user.cpp:19:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] user.cpp:23:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] user.cpp:27:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] user.cpp:31:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] user.cpp:35:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] user.cpp:39:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] user.cpp:43:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] user.cpp:47:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]