Problem acorns
User PlayVoltz
Submission Time 2023-12-26 01:36:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

acorns.cpp: In function ‘int32_t main()’:
acorns.cpp:46:32: error: ‘i’ was not declared in this scope
46 | while (cht.size()>1&&eval(cht[i], floor(f(cht[0], cht[1])-0.000001))<=0)cht.pop_front(), ++ans;
| ^