Problem atomsplit
User hitarthdangra
Submission Time 2025-06-19 09:58:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

atomsplit.cpp: In function ‘int main()’:
atomsplit.cpp:18:41: error: expected primary-expression before ‘/’ token
18 | while (time < T and !pq.empty()) { /
| ^
atomsplit.cpp:19:9: error: expected primary-expression before ‘long’
19 | long long X = pq.top();
| ^~~~
atomsplit.cpp:20:19: error: ‘X’ was not declared in this scope
20 | energy += X;
| ^