| Problem | eta |
|---|---|
| User | bachnguyen123 |
| Submission Time | 2025-12-06 22:38:33 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
eta.cpp: In function ‘int main()’:
eta.cpp:65:9: error: ‘s1’ was not declared in this scope; did you mean ‘y1’?
65 | s1 = vals[t].lower_bound(start[c]) - vals[t].begin();
| ^~
| y1
eta.cpp:65:44: error: no match for ‘operator-’ (operand types are ‘std::set<int>::iterator’ {aka ‘std::_Rb_tree_const_iterator<int>’} and ‘std::set<int>::iterator’ {aka ‘std::_Rb_tree_const_iterator<int>’})
65 | s1 = vals[t].lower_bound(start[c]) - vals[t].begin();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
| | |
| | _Rb_tree_const_iterator<[...]>
| _Rb_tree_const_iterator<[...]>
In file included from /usr/include/c++/9/bits/stl_algobase.h:67,
from /usr/include/c++/9/bits/specfun.h:45,