Problem atomsplit
User hitarthdangra
Submission Time 2025-06-19 09:57:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

atomsplit.cpp: In function ‘int main()’:
atomsplit.cpp:10:25: error: ‘n’ was not declared in this scope
10 | for (int i = 0; i < n ; i++) {
| ^
atomsplit.cpp:17:12: error: ‘times’ was not declared in this scope; did you mean ‘time’?
17 | while (times < t and !pqy.empty()) {
| ^~~~~
| time
atomsplit.cpp:17:20: error: ‘t’ was not declared in this scope
17 | while (times < t and !pqy.empty()) {
| ^
atomsplit.cpp:17:27: error: ‘pqy’ was not declared in this scope; did you mean ‘pq’?
17 | while (times < t and !pqy.empty()) {
| ^~~
| pq