Problem maximum
User yanwen
Submission Time 2025-02-19 16:11:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

maximum.cpp:4:5: error: cannot declare ‘::main’ to be a global variable
4 | int main {
| ^~~~
maximum.cpp:5:2: error: expected primary-expression before ‘int’
5 | int a,b
| ^~~
maximum.cpp:5:2: error: expected ‘}’ before ‘int’
maximum.cpp:4:10: note: to match this ‘{’
4 | int main {
| ^
maximum.cpp:7:2: error: ‘cout’ does not name a type
7 | cout b
| ^~~~
maximum.cpp:9:2: error: ‘cout’ does not name a type
9 | cout a
| ^~~~
maximum.cpp:11:2: error: expected declaration before ‘}’ token
11 | }
| ^