Problem | paint |
---|---|
User | Elwinthenerd |
Submission Time | 2024-10-22 19:31:56 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
paint.cpp: In lambda function:
paint.cpp:18:18: error: ‘::b’ has not been declared
18 | return ::b[a.second] < ::b[b.second];
| ^
paint.cpp:18:34: error: ‘::b’ has not been declared
18 | return ::b[a.second] < ::b[b.second];
| ^
paint.cpp: In function ‘int main()’:
paint.cpp:22:29: error: ‘::b’ has not been declared
22 | c += p[i].first + ::b[p[i].second] * i;
| ^
In file included from /usr/include/c++/9/bits/stl_algobase.h:71,
from /usr/include/c++/9/bits/char_traits.h:39,
from /usr/include/c++/9/ios:40,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from paint.cpp:1:
/usr/include/c++/9/bits/predefined_ops.h: In instantiation of ‘constexpr bool __gnu_cxx::__ops::_Iter_comp_iter<_Compare>