Problem deathray
User shenshiqi
Submission Time 2025-11-15 12:13:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

deathray.cpp: In function ‘int main()’:
deathray.cpp:36:47: error: ‘totalDmg’ was not declared in this scope; did you mean ‘totaldmg’?
36 | while (!life.empty() && life.top() <= totalDmg){
| ^~~~~~~~
| totaldmg