Problem basement
User KingKav199
Submission Time 2023-12-14 11:19:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

basement.cpp: In function ‘int32_t main()’:
basement.cpp:26:28: error: expected ‘;’ before ‘{’ token
26 | }else if(v[1] == v[n-1]{
| ^
| ;
basement.cpp:29:3: error: expected primary-expression before ‘else’
29 | }else{
| ^~~~
basement.cpp:29:3: error: expected ‘)’ before ‘else’
29 | }else{
| ^~~~
| )
basement.cpp:26:13: note: to match this ‘(’
26 | }else if(v[1] == v[n-1]{
| ^