Problem lostarray
User Negative273C
Submission Time 2024-10-19 22:30:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lostarray.cpp: In function ‘int32_t main()’:
lostarray.cpp:26:13: error: ‘else’ without a previous ‘if’
26 | else if(C > X[A] && C > X[B]) X[A] = X[B] = C;
| ^~~~