Problem atomsplit
User Xavier
Submission Time 2025-06-19 10:59:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

atomsplit.cpp: In function ‘int main()’:
atomsplit.cpp:7:27: error: template argument 1 is invalid
7 | priority_queue<long long pq;
| ^~
atomsplit.cpp:7:27: error: template argument 2 is invalid
atomsplit.cpp:7:27: error: template argument 3 is invalid
atomsplit.cpp:12:9: error: ‘pq’ was not declared in this scope
12 | pq.push(X);
| ^~
atomsplit.cpp:16:20: error: ‘pq’ was not declared in this scope
16 | while (T-- && !pq.empty()){
| ^~
atomsplit.cpp:22:9: error: ‘pq’ was not declared in this scope
22 | pq.push(x/2);
| ^~