Problem foreveralone
User RandomPerson
Submission Time 2023-11-17 15:13:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foreveralone.cpp: In function ‘int main()’:
foreveralone.cpp:5:44: error: no matching function for call to ‘std::basic_istream<char>::tie(bool)’
5 | ios::sync_with_stdio(false); cin.tie(false); cout.tie(false);
| ^
In file included from /usr/include/c++/9/ios:44,
from /usr/include/c++/9/istream:38,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from foreveralone.cpp:1:
/usr/include/c++/9/bits/basic_ios.h:295:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>* std::basic_ios<_CharT, _Traits>::tie() const [with _CharT = char; _Traits = std::char_traits<char>]’
295 | tie() const
| ^~~
/usr/include/c++/9/bits/basic_ios.h:295:7: