Problem | maximum |
---|---|
User | yay |
Submission Time | 2025-03-01 09:35:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
maximum.cpp:3:13: error: expected identifier before ‘long’
3 | #define int long long
| ^~~~
maximum.cpp:5:1: note: in expansion of macro ‘int’
5 | int max(int a, int b) {
| ^~~
maximum.cpp:2:16: error: expected ‘;’ before ‘long’
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 | cou