Problem honey
User estkn
Submission Time 2026-11-03 11:10:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

honey.cpp: In function ‘int main()’:
honey.cpp:15:32: error: expected ‘;’ before ‘for’
15 | sort(hon.rbegin(), hon.rend())
| ^
| ;
16 | for (int i = 0; i < n; i++){
| ~~~
honey.cpp:16:18: error: ‘i’ was not declared in this scope
16 | for (int i = 0; i < n; i++){
| ^