Problem atomsplit
User averagejav
Submission Time 2025-06-19 09:46:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

atomsplit.cpp: In function ‘int main()’:
atomsplit.cpp:6:21: error: expected ‘;’ before ‘<’ token
6 | for (int i =0, i < items, i++){
| ^~
| ;
atomsplit.cpp:6:22: error: expected primary-expression before ‘<’ token
6 | for (int i =0, i < items, i++){
| ^
atomsplit.cpp:6:34: error: expected ‘;’ before ‘)’ token
6 | for (int i =0, i < items, i++){
| ^
| ;
atomsplit.cpp:12:5: error: ‘piority_queue’ was not declared in this scope
12 | piority_queue<long long> queue(atoms.begin(), atoms.end());
| ^~~~~~~~~~~~~
atomsplit.cpp:12:19: error: expected primary-expression before ‘long’
12 | piority_queue<long long> queue(atoms.begin(), atoms.end());
| ^~~~
atomsplit.cpp:16:22: error: missing t