반응형 Vector-Erase1 [HackerRank]Vector-Erase-Easy https://www.hackerrank.com/challenges/vector-erase/problem Vector-Erase | HackerRank Erasing an element from a vector. www.hackerrank.com #include #include #include #include #include using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int n; vector v; int res; int target1,target2; cin>>n; for(int i=0;i>res; v.push_back(res); } cin>>target1;.. 2019. 10. 29. 이전 1 다음 반응형