| Problem | topical |
|---|---|
| User | justin271828 |
| Submission Time | 2025-12-06 15:24:55 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
topical.cpp: In function ‘int32_t main()’:
topical.cpp:28:30: error: ‘it’ was not declared in this scope; did you mean ‘it2’?
28 | for (int j = 0; j < k; j++) it[j] = sets[j].lower_bound({1, 0});
| ^~
| it2
topical.cpp:28:38: error: ‘sets’ was not declared in this scope; did you mean ‘setns’?
28 | for (int j = 0; j < k; j++) it[j] = sets[j].lower_bound({1, 0});
| ^~~~
| setns
topical.cpp:38:33: error: request for member ‘top’ in ‘pq’, which is of non-class type ‘std::priority_queue<std::pair<long long int, long long int>, std::vector<std::pair<long long int, long long int> >, std::greater<std::pair<long long int, long long int> > > [k]’
38 | while (!pq[j].empty() && (pq.top().f <= arr[j])) {
| ^~~
topi