| Problem | towers_noi |
|---|---|
| User | justin271828 |
| Submission Time | 2026-07-27 23:16:15 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
towers_noi.cpp: In function ‘int main()’:
towers_noi.cpp:18:8: error: ‘class std::set<int>’ has no member named ‘push_back’
18 | seta.push_back(Y[i]);
| ^~~~~~~~~
towers_noi.cpp:19:14: error: ‘class std::set<int>’ has no member named ‘push_back’
19 | setY[Y[i]].push_back(X[i]);
| ^~~~~~~~~
towers_noi.cpp:22:3: error: ‘mini’ was not declared in this scope
22 | mini[i] = INF;
| ^~~~
towers_noi.cpp:23:3: error: ‘maxi’ was not declared in this scope
23 | maxi[i] = -1;
| ^~~~
towers_noi.cpp:28:24: error: invalid use of non-static member function ‘std::set<_Key, _Compare, _Alloc>::iterator std::set<_Key, _Compare, _Alloc>::end() const [with _Key = int; _Compare = std::less<int>; _Alloc = std::allocator<int>; std::set<_Key, _Compare, _Alloc>::iterator = std::_Rb_tree_const_iterator<int>]’
28 | E[temp] = setY[temp].end;
|