Problem ssoca
User MegaG
Submission Time 2026-01-02 18:20:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ssoca.cpp: In function ‘int main()’:
ssoca.cpp:6:34: error: expected ‘;’ before ‘:’ token
6 | ios_base::sync_with_stdio(false):
| ^
| ;
ssoca.cpp:20:7: error: no match for ‘operator>>’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘<unresolved overloaded function type>’)
20 | cin >> begin >> end;
| ~~~~^~~~~~~~
In file included from /usr/include/c++/9/iostream:40,
from ssoca.cpp:1:
/usr/include/c++/9/istream:120:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>::__istream_type& (*)(std::basic_istream<_CharT, _Traits>::__istream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = s