Borderou de evaluare (job #1168656)
Utilizator | Data | 9 aprilie 2014 10:45:44 | |
---|---|---|---|
Problema | ZParcurgere | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int zp(int, int, int)’:
user.cpp:21:9: error: ‘lin’ was not declared in this scope
in>>lin>>" ">>col;
^
user.cpp:21:19: error: ‘col’ was not declared in this scope
in>>lin>>" ">>col;
^
user.cpp: In function ‘int main()’:
user.cpp:39:12: error: cannot bind ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ lvalue to ‘std::basic_istream<char>&&’
in >> lin >> " " >>col;
^
In file included from /usr/local/include/c++/4.8.0/fstream:38:0,
from user.cpp:1:
/usr/local/include/c++/4.8.0/istream:872: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 = const char [2]]’
operator>>(basic_istream<_CharT, _Traits>&& __is, _Tp& __x)
^
user.cpp: In function ‘int zp(int, int, int)’:
user.cpp:33:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !