Problem atomsplit
User SideQuesting
Submission Time 2025-06-19 11:39:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

atomsplit.cpp: In function ‘int main()’:
atomsplit.cpp:12:1: error: expected initializer before ‘long’
12 | long long S;
| ^~~~
atomsplit.cpp:14:12: error: ‘S’ was not declared in this scope
14 | cin >> S;
| ^
atomsplit.cpp:15:5: error: ‘pq’ was not declared in this scope
15 | pq.push(S);
| ^~
atomsplit.cpp:20:9: error: ‘pq’ was not declared in this scope
20 | if (pq.top() > 1){
| ^~