Borderou de evaluare (job #334259)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Kdiv (clasa a 5-a) | Compilator | cpp |
Rundă | vacanta_9_1 | Status | evaluat |
Dată | 24 dec. 2017 13:46:47 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:13: 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 [1000001]]’
user.cpp:17:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
user.cpp:19:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
user.cpp:20:18: error: invalid operands of types ‘int [1000001]’ and ‘int’ to binary ‘operator%’
user.cpp:26:22: error: invalid operands of types ‘int’ and ‘int [1000001]’ to binary ‘operator%’
user.cpp:31:32: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript