| Problem | ring2 |
|---|---|
| User | SheepHeads |
| Submission Time | 2026-02-22 10:25:39 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
ring2.cpp: In function ‘bool solve(long long int, long long int)’:
ring2.cpp:30:8: error: conflicting declaration ‘info temp’
30 | info temp = {j, 1e18, 1e18, 1e18};
| ^~~~
ring2.cpp:29:7: note: previous declaration as ‘long long int temp’
29 | int temp = cur;
| ^~~~
In file included from /usr/include/c++/9/bits/stl_algobase.h:71,
from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from ring2.cpp:2:
/usr/include/c++/9/bits/predefined_ops.h: In instantiation of ‘bool __gnu_cxx::__ops::_Iter_less_val::operator()(_Iterator, _Value&) const [with _Iterator = __gnu_cxx::__normal_iterator<info*, std::vector<info> >; _Value = const long long int]’:
/usr/include/c++/9/bits/stl_algobase.h:979:14: required from ‘_ForwardIterator std::__lower_bound(_ForwardIte