Problem maximum
User idkmaybe
Submission Time 2024-01-02 15:59:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

maximum.cpp: In function ‘int main()’:
maximum.cpp:11:13: error: no match for ‘operator>’ (operand types are ‘std::basic_ostream<char>::__ostream_type’ {aka ‘std::basic_ostream<char>’} and ‘long long int’)
11 | cout<< a>b ? a : b <<endl;
| ~~~~~~~~^~
| | |
| | long long int
| std::basic_ostream<char>::__ostream_type {aka std::basic_ostream<char>}
maximum.cpp:11:13: note: candidate: ‘operator>(int, long long int)’ <built-in>
11 | cout<< a>b ? a : b <<endl;
| ~~~~~~~~^~
maximum.cpp:11:13: note: no known conversion for argument 1 from ‘std::basic_ostream<char>::__ostream_type’ {aka ‘std::basic_ostream<char>’} to ‘int’
In file included from /usr/include/c++/9/regex:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:110,
from maximum.cpp:1:
/usr/inc