Problem maximum
User yay
Submission Time 2025-03-01 09:35:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

maximum.cpp:2:16: error: expected identifier before ‘;’ token
2 | using namespace;
| ^
maximum.cpp: In function ‘long long int max(long long int, long long int)’:
maximum.cpp:7:3: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
7 | cout << a;
| ^~~~
| std::cout
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from maximum.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
maximum.cpp:10:3: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
10 | cout << b;
| ^~~~
| std::cout
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from maximum.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here<