Problem atomsplit
User vadar2525
Submission Time 2026-01-14 15:33:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

atomsplit.cpp: In function ‘int main()’:
atomsplit.cpp:10:2: error: ‘pirority_queue’ was not declared in this scope
10 | pirority_queue <int> a;
| ^~~~~~~~~~~~~~
atomsplit.cpp:2:13: error: expected primary-expression before ‘long’
2 | #define int long long
| ^~~~
atomsplit.cpp:10:18: note: in expansion of macro ‘int’
10 | pirority_queue <int> a;
| ^~~
atomsplit.cpp:14:3: error: ‘a’ was not declared in this scope
14 | a.push(x);
| ^
atomsplit.cpp:17:12: error: ‘a’ was not declared in this scope
17 | total += a.top();
| ^