vector<int> v = {1, 2, 2, 2, 5}; int cnt = upper_bound(v.begin(), v.end(), 2) - lower_bound(v.begin(), v.end(), 2); cnt 的值是( )。 A. 1 B. 2 C. 3 D. 5