-
lower bound, upper_bound compare function아무거나적어~ 2023. 9. 20. 16:39
https://stackoverflow.com/questions/52118904/using-lower-bound-upper-bound-with-2-different-types
using lower_bound/upper_bound with 2 different types
I have a small working code for finding a range of items that uses a special compare method. But when I try to rewrite it with lower_bound() and upper_bound() function, I get a strange error. I have
stackoverflow.com
'아무거나적어~' 카테고리의 다른 글
[C++] max({1, 2, 3}) 이게 되네? (0) 2023.10.06 어떤 걸 기준으로 2개로 나뉠 때 자료구조 2개 쓸 수 있음 (1) 2023.10.05 평면상에서 가장 가까운 두 점(Closest Pair of Points) (0) 2023.09.20 Harmonic number time complexity O(lg n) (0) 2023.09.14 std::set::lower_bound vs std::lower_bound in C++ (0) 2023.09.12