Problem | ghostrule |
---|---|
User | AlphanumericUsername |
Submission Time | 2024-02-05 01:47:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ghostrule.cpp: In function ‘bool ans(int, int)’:
ghostrule.cpp:157:8: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘std::ostream’ {aka ‘std::basic_ostream<char>’})
157 | cout << cout << (same(move(a, b), move(b, a)) ? "YES\n" : "NO\n");
| ~~~~ ^~ ~~~~
| | |
| | basic_ostream<[...]>
| basic_ostream<[...]>
ghostrule.cpp:157:8: note: candidate: ‘operator<<(int, int)’ <built-in>
157 | cout << cout << (same(move(a, b), move(b, a)) ? "YES\n" : "NO\n");
| ~~~~~^~~~~~~
ghostrule.cpp:157:8: note: no known conversion for argument 2 from ‘std::ostream’ {aka ‘std::basic_ostream<char>’} to ‘int’
In file included from /usr/include/c++/9/istream:39,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,