Problem topsilver
User Mithilesh
Submission Time 2026-06-26 15:19:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

topsilver.cpp: In function ‘int main()’:
topsilver.cpp:7:15: error: expected ‘;’ before ‘if’
7 | cin >> X >> Y
| ^
| ;
8 |
9 | if (X-1 == Y)
| ~~
topsilver.cpp:11:5: error: ‘else’ without a previous ‘if’
11 | else if (X-1 < Y)
| ^~~~