Borderou de evaluare (job #354832)

Utilizator avatar ioanU ursescu ioan ioanU IP ascuns
Problemă Ordine (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 20 feb. 2018 19:41:13 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:16:17: error: ‘v’ was not declared in this scope user.cpp:20:18: error: ‘v’ was not declared in this scope user.cpp:25:22: error: ‘v’ was not declared in this scope user.cpp:35:17: error: ‘v’ was not declared in this scope user.cpp:39:20: error: expected ‘,’ before ‘/’ token user.cpp:39:20: error: expected identifier before ‘/’ token user.cpp: In lambda function: user.cpp:39:23: error: expected ‘{’ before ‘;’ token user.cpp: In function ‘int main()’: user.cpp:39:23: error: cannot bind ‘std::basic_ostream<char>’ lvalue to ‘std::basic_ostream<char>&&’ /usr/include/c++/4.6/ostream:581:5: error: initializing argument 1 of ‘std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&&, const _Tp&) [with _CharT = char, _Traits = std::char_traits<char>, _Tp = main()::<lambda()>]’ user.cpp:44:22: error: ‘v’ was not declared in this scope user.cpp:10:23: warning: unused variable ‘c’ [-Wunused-variable]