Problem | smurf |
---|---|
User | 2Princes1Lance |
Submission Time | 2023-12-02 00:29:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
smurf.cpp: In function ‘int scanf_int()’:
smurf.cpp:10:15: error: no matching function for call to ‘std::basic_istream<char>::tie(bool)’
10 | cin.tie(false); std::ios_base::sync_with_stdio(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 smurf.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>