Problem buffet
User nothing
Submission Time 2023-08-05 17:10:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

buffet.cpp: In function ‘int main()’:
buffet.cpp:39:18: error: no match for ‘operator>’ (operand types are ‘std::basic_ostream<char>::__ostream_type’ {aka ‘std::basic_ostream<char>’} and ‘long long int’)
39 | cout << aMax > bMax ? aMax : bMax << endl;
| ~~~~~~~~~~~~ ^ ~~~~
| | |
| | long long int
| std::basic_ostream<char>::__ostream_type {aka std::basic_ostream<char>}
buffet.cpp:39:18: note: candidate: ‘operator>(int, long long int)’ <built-in>
39 | cout << aMax > bMax ? aMax : bMax << endl;
| ~~~~~~~~~~~~~^~~~~~
buffet.cpp:39:18: 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++