16712 Finding Love 문제풀이 #include #include #include using namespace std; void fast_io(void) { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); } int v, n, m; vector vec; int main(void) { fast_io(); cin >> n >> m; for (int i = 0; i > a; vec.push_back(a); } for (int i = 0; i > v; sort(vec.begin(), vec.begin()+m); vec.erase(vec.begin() +..