Problem brick
User Hijackedsoul
Submission Time 2023-07-05 13:20:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

brick.cpp: In function ‘int main()’:
brick.cpp:17:9: error: ‘else’ without a previous ‘if’
17 | else if (arr[i]<=arr[i-1]){
| ^~~~