Borderou de evaluare (job #1577700)
Utilizator | Data | 23 ianuarie 2016 18:47:15 | |
---|---|---|---|
Problema | Cool | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:86:21: error: no match for ‘operator=’ (operand types are ‘std::basic_ostream<char>’ and ‘int’)
out << maxSz=1 << '\n';
^
user.cpp:86:21: note: candidate is:
In file included from /usr/include/c++/4.8/istream:39:0,
from /usr/include/c++/4.8/fstream:38,
from user.cpp:1:
/usr/include/c++/4.8/ostream:58:11: note: std::basic_ostream<char>& std::basic_ostream<char>::operator=(const std::basic_ostream<char>&) <deleted>
class basic_ostream : virtual public basic_ios<_CharT, _Traits>
^
/usr/include/c++/4.8/ostream:58:11: note: no known conversion for argument 1 from ‘int’ to ‘const std::basic_ostream<char>&’
user.cpp:49:13: warning: unused variable ‘End’ [-Wunused-variable]
int End = false;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !