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

Compile Error

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