Problem | atomsplit |
---|---|
User | Shauryaw |
Submission Time | 2025-06-19 09:27:56 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
atomsplit.cpp: In function ‘int main()’:
atomsplit.cpp:9:6: error: expected ‘;’ before ‘num’
9 | cin num;
| ^~~~
| ;
atomsplit.cpp:10:16: error: expected ‘;’ before ‘}’ token
10 | pqy.push(num)
| ^
| ;
11 | }
| ~
atomsplit.cpp:13:2: error: expected ‘,’ or ‘;’ before ‘int’
13 | int energy = 0
| ^~~
atomsplit.cpp:20:10: error: ‘energy’ was not declared in this scope
20 | cout << energy;
| ^~~~~~