Problem hamster1
User eliasxyz
Submission Time 2025-06-14 15:36:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hamster1.cpp: In function ‘int main()’:
hamster1.cpp:19:57: error: ‘Energy’ was not declared in this scope; did you mean ‘Energy_H’?
19 | int x=Min_Energy[count-1-j]+abs(Energy_H[count-1-j]-Energy[count-1]);
| ^~~~~~
| Energy_H