Problem | lualectures |
---|---|
User | Henries |
Submission Time | 2024-10-23 22:11:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lualectures.cpp: In function ‘void solve(std::priority_queue<std::pair<long long int, long long int> >)’:
lualectures.cpp:14:43: error: ‘std::set<std::pair<long long int, long long int>, std::greater<std::pair<long long int, long long int> > >::iterator’ {aka ‘struct std::_Rb_tree_const_iterator<std::pair<long long int, long long int> >’} has no member named ‘first’
14 | long long smallest = *available.begin().first;
| ^~~~~
lualectures.cpp:23:23: error: ‘std::set<std::pair<long long int, long long int>, std::greater<std::pair<long long int, long long int> > >::iterator’ {aka ‘struct std::_Rb_tree_const_iterator<std::pair<long long int, long long int> >’} has no member named ‘first’
23 | *available.begin().first = currentend;
| ^~~~~
lualectures.cpp:24:40: error: ‘std::set<std::pair<long lon