Problem | atomsplit |
---|---|
User | youwoahh |
Submission Time | 2025-06-19 11:11:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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
atomsplit.cpp:29:13: error: ‘totalenergy’ was not declared in this scope; did you mean ‘totalEnergy’?
29 | cout << totalenergy;
| ^~~~~~~~~~~
| totalEnergy