input/code.cpp: In function 'int main()':
input/code.cpp:16:32: error: cannot bind 'std::ostream {aka std::basic_ostream<char>}' lvalue to 'std::basic_ostream<char>&&'
if(s.count(1)==1)cout<<s.begin()<<" ";
^
In file included from /usr/include/c++/4.8/istream:39:0,
from /usr/include/c++/4.8/sstream:38,
from /usr/include/c++/4.8/complex:45,
from /usr/include/c++/4.8/ccomplex:38,
from /usr/include/x86_64-linux-gnu/c++/4.8/bits/stdc++.h:52,
from input/code.cpp:1:
/usr/include/c++/4.8/ostream:602:5: error: initializing argument 1 of 'std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&&, const _Tp&) [with _CharT = char; _Traits = std::char_traits<char>; _Tp = std::_Rb_tree_const_iterator<int>]'
operator<<(basic_ostream<_CharT, _Traits>&& __os, const _Tp& __x)
^
input/code.cpp:21:1: error: expected '}' at end of input
}
^