Problem candles
User Tyx2019
Submission Time 2023-11-16 23:26:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

candles.cpp: In function ‘int main()’:
candles.cpp:8:34: error: expected ‘;’ before ‘sort’
8 | for(int i=0;i<N;i++) cin >> X[i]
| ^
| ;
9 | sort(X,X+N);
| ~~~~