| Problem | maximum |
|---|---|
| User | sreej |
| Submission Time | 2025-10-18 14:39:28 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
maximum.cpp:3:5: error: cannot declare ‘::main’ to be a global variable
3 | int main {
| ^~~~
maximum.cpp:4:2: error: expected primary-expression before ‘int’
4 | int a;
| ^~~
maximum.cpp:4:2: error: expected ‘}’ before ‘int’
maximum.cpp:3:10: note: to match this ‘{’
3 | int main {
| ^
maximum.cpp:6:2: error: ‘cin’ does not name a type; did you mean ‘sin’?
6 | cin >> a;
| ^~~
| sin
maximum.cpp:7:2: error: ‘cin’ does not name a type; did you mean ‘sin’?
7 | cin >> b;
| ^~~
| sin
maximum.cpp:8:2: error: expected unqualified-id before ‘if’
8 | if (a >= b) {
| ^~
maximum.cpp:10:4: error: expected unqualified-id before ‘else’
10 | } else {
| ^~~~
maximum.cpp:13:1: error: expected declaration before ‘}’ token
13 | }
| ^