QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#593101 | #9375. Tourist | MaMengQi | Compile Error | / | / | C++17 | 589b | 2024-09-27 11:36:19 | 2024-09-27 11:36:20 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:8:12: error: no matching function for call to ‘std::basic_istream<char>::tie(bool)’ 8 | cin.tie(false); | ~~~~~~~^~~~~~~ In file included from /usr/include/c++/13/ios:46, from /usr/include/c++/13/istream:40, from /usr/include/c++/13/sstream:40, from /usr/include/c++/13/complex:45, from /usr/include/c++/13/ccomplex:39, from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:127, from answer.code:1: /usr/include/c++/13/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++/13/bits/basic_ios.h:295:7: note: candidate expects 0 arguments, 1 provided /usr/include/c++/13/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::char_traits<char>]’ 307 | tie(basic_ostream<_CharT, _Traits>* __tiestr) | ^~~ /usr/include/c++/13/bits/basic_ios.h:307:43: note: no known conversion for argument 1 from ‘bool’ to ‘std::basic_ostream<char>*’ 307 | tie(basic_ostream<_CharT, _Traits>* __tiestr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~