프로그래머스 181892 n 번째 원소부터

1 개요[ | ]

프로그래머스 181892 n 번째 원소부터

2 C++[ | ]

#include <string>
#include <vector>

using namespace std;

vector<int> solution(vector<int> num_list, int n) {
    return vector<int>(num_list.begin()+n-1, num_list.end());
}