0_0_30690226_8993.cpp: In function 'int main()':
0_0_30690226_8993.cpp:45:26: error: no match for 'operator=' (operand types are 'std::ostream {aka std::basic_ostream<char>}' and 'int')
else cout=1,lastx=room[i].x;
^
0_0_30690226_8993.cpp:45:26: note: candidate is:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39:0,
from 0_0_30690226_8993.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/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>
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:58:11: note: no known conversion for argument 1 from 'int' to 'const std::basic_ostream<char>&'
|