Borderou de evaluare (job #458010)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Paznici (clasele 11-12) | Compilator | cpp |
| Rundă | lasm_20_03_2019_10_12 | Status | evaluat |
| Dată | 21 mar. 2019 18:46:09 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:8: error: conflicting declaration ‘int c’
user.cpp:5:29: error: ‘c’ has a previous declaration as ‘int c [1000000]’
user.cpp: In function ‘int main()’:
user.cpp:23:14: 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 [1000000]]’
user.cpp:25:8: error: invalid conversion from ‘int*’ to ‘int’ [-fpermissive]
user.cpp:41:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
user.cpp:43:12: error: ‘w’ was not declared in this scope
user.cpp:48:8: error: ‘w’ was not declared in this scope