Problem atomsplit
User rachel9teh
Submission Time 2025-06-19 10:34:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

atomsplit.cpp: In function ‘int main()’:
atomsplit.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin >> N >> T;
| ^~~
atomsplit.cpp:4:5: error: ‘priority_queue’ was not declared in this scope
4 | priority_queue <long long> pq;
| ^~~~~~~~~~~~~~
atomsplit.cpp:4:21: error: expected primary-expression before ‘long’
4 | priority_queue <long long> pq;
| ^~~~
atomsplit.cpp:8:9: error: ‘pq’ was not declared in this scope
8 | pq.push(size);
| ^~
atomsplit.cpp:11:16: error: ‘pq’ was not declared in this scope
11 | res += pq.top();
| ^~
atomsplit.cpp:15:5: error: ‘cout’ was not declared in this scope
15 | cout << res;
| ^~~~