Problem applebaskets
User Henries
Submission Time 2024-12-07 11:56:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

applebaskets.cpp: In function ‘int main()’:
applebaskets.cpp:25:39: error: ‘totalcyles’ was not declared in this scope; did you mean ‘totalcycles’?
25 | long long cycles = pq.top().first - totalcyles;
| ^~~~~~~~~~
| totalcycles