코딩테스트/[C#] 프로그래머스
[프로그래머스 | Lv.0] n 번째 원소까지
냠냠쿠
2023. 8. 13. 19:37
728x90
https://school.programmers.co.kr/learn/courses/30/lessons/181889
📝 나의 풀이
using System;
public class Solution {
public int[] solution(int[] num_list, int n) {
int[] answer = new int[n];
for(int i=0; i<n; i++){
answer[i] = num_list[i];
}
return answer;
}
}
728x90