Problem maximum
User JordanGwee
Submission Time 2026-04-10 16:33:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

maximum.cpp: In function ‘int main()’:
maximum.cpp:6:2: error: expected initializer before ‘cin’
6 | cin >> a
| ^~~
maximum.cpp:8:9: error: ‘b’ was not declared in this scope
8 | cin >> b;
| ^
maximum.cpp:9:6: error: ‘a’ was not declared in this scope
9 | if (a > b) {
| ^
maximum.cpp:16:11: error: expected ‘;’ before ‘}’ token
16 | return 0
| ^
| ;
17 | }
| ~