Borderou de evaluare (job #347495)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cavaleri (clasa a 5-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 2 feb. 2018 16:27:39 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:6: 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 = int [1000]]’
user.cpp:11:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
user.cpp:20:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
user.cpp:55:11: error: expected ‘}’ at end of input