Borderou de evaluare (job #87368)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Rubine (clasa a 6-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 12 nov. 2014 20:04:01 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:23: error: redeclaration of ‘int n’
user.cpp:19:9: error: ‘int n’ previously declared here
user.cpp:19:27: error: conflicting declaration ‘int k’
user.cpp:18:10: error: ‘k’ has a previous declaration as ‘bool k [2000001]’
user.cpp:20:13: 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 = bool [2000001]]’
user.cpp:19:15: warning: unused variable ‘h’ [-Wunused-variable]
user.cpp:19:19: warning: unused variable ‘m’ [-Wunused-variable]
user.cpp:19:31: warning: unused variable ‘c’ [-Wunused-variable]
user.cpp:19:35: warning: unused variable ‘s1’ [-Wunused-variable]
user.cpp:19:40: warning: unused variable ‘s2’ [-Wunused-variable]