Problem topical
User HighLithop
Submission Time 2023-12-08 11:50:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

topical.cpp: In function ‘int main()’:
topical.cpp:53:15: error: no matching function for call to ‘std::basic_istream<char>::tie(bool)’
53 | cin.tie(false);
| ^
In file included from /usr/include/c++/9/ios:44,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from topical.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: note: candidate expects 0 arguments, 1 provided
/usr/include/c++/9/bits/basic_ios.h:307:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>* std::basic_ios<_CharT, _Traits>::tie(std::basic_ostream<_CharT, _Traits>*) [with _CharT = char; _Traits = std: