Borderou de evaluare (job #284513)

Utilizator avatar AlexSpiridon18 Alexandru Spiridon AlexSpiridon18 IP ascuns
Problemă Parola (clasa a 5-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 24 feb. 2017 11:15:48 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function 'int main()': user.cpp:11:8: 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 = int [1000]]' user.cpp:15:18: error: invalid operands of types 'int [1000]' and 'int' to binary 'operator%' user.cpp:16:11: error: invalid operands of types 'int [1000]' and 'int' to binary 'operator/' user.cpp:17:18: error: invalid operands of types 'int [1000]' and 'int' to binary 'operator/' user.cpp:21:18: error: invalid operands of types 'int [1000]' and 'int' to binary 'operator%' user.cpp:22:11: error: invalid operands of types 'int [1000]' and 'int' to binary 'operator/' user.cpp:8:9: warning: unused variable 'i' [-Wunused-variable]