Problem atomsplit
User youwoahh
Submission Time 2025-06-19 11:10:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

atomsplit.cpp: In function ‘int main()’:
atomsplit.cpp:20:9: error: ‘totalenergy’ was not declared in this scope; did you mean ‘totalEnergy’?
20 | totalenergy += x;
| ^~~~~~~~~~~
| totalEnergy