#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() {     ios::sync_with_stdio(false);     cin.tie(NULL); cout.tie(NULL);     vector<int> arr = { 1,2,2,3,3,4,5 };               int a = lower_bound(arr.begin(), arr.end(), 2) // 이건 안됌 당연히 반환값이 iterator니깐 int b = lower_bound(arr.begin(), arr.end(), 2) - arr.begin(); // 이건 외되;;;;;; }




여기서 왜 int b는 외 돼는지 아는사람 있을까요.....