Borderou de evaluare (job #526213)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Bradul (clasa a 9-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 10 feb. 2020 20:42:22 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function 'int main()':
user.cpp:9:9: error: cannot bind 'std::basic_istream<char>::__istream_type {aka 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 = const char [2]]'
user.cpp:18:1: error: expected ';' before 'for'
user.cpp:18:28: warning: statement has no effect [-Wunused-value]
user.cpp:18:37: error: expected ';' before ')' token