Problem snack
User asbx
Submission Time 2023-11-09 15:57:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snack.cpp: In function ‘int main()’:
snack.cpp:27:19: error: expected ‘;’ before ‘cout’
27 | sort(arr2,arr2+x)
| ^
| ;
28 | cout<<arr2[x-1]<<endl;
| ~~~~