Problem nycheer
User trashcan08
Submission Time 2024-11-22 14:51:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nycheer.cpp: In function ‘int32_t main()’:
nycheer.cpp:10:20: error: expected ‘;’ before ‘{’ token
10 | } else (a == 2) {
| ^~
| ;
nycheer.cpp:12:7: error: ‘else’ without a previous ‘if’
12 | } else {
| ^~~~
nycheer.cpp:18:20: error: expected ‘;’ before ‘{’ token
18 | } else (b == 2) {
| ^~
| ;
nycheer.cpp:20:7: error: ‘else’ without a previous ‘if’
20 | } else {
| ^~~~