Problem maximum
User Kartikkk
Submission Time 2024-02-18 16:20:24
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
| ^~~
maximum.cpp:5:2: error: expected ‘}’ before ‘int’
maximum.cpp:4:10: note: to match this ‘{’
4 | int main {
| ^
maximum.cpp:14:2: error: expected unqualified-id before ‘else’
14 | else {
| ^~~~
maximum.cpp:17:1: error: expected declaration before ‘}’ token
17 | }
| ^