Problem | psle |
---|---|
User | hwy |
Submission Time | 2023-06-02 10:36:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
psle.cpp: In function ‘int main()’:
psle.cpp:15:11: error: ‘X’ was not declared in this scope
15 | else if (X >= 50) {
| ^
psle.cpp:25:8: error: no match for ‘operator<=’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘const char [2]’)
25 | cout <= "U";
| ~~~~ ^~ ~~~
| | |
| | const char [2]
| std::ostream {aka std::basic_ostream<char>}
In file included from /usr/include/c++/9/bits/stl_algobase.h:64,
from /usr/include/c++/9/bits/char_traits.h:39,
from /usr/include/c++/9/ios:40,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from psle.cpp:1:
/usr/include/c++/9/bits/stl_pair.h:473:5: note: candidate: ‘template<class _T1, class _T2> constexpr bool std::operator<=(const std::pair<_T1, _T2>&, const std::pair