[프로그래머스 | Lv.0] 배열의 평균 값

이승민·2023년 7월 20일
0

프로그래머스

목록 보기
3/27

https://school.programmers.co.kr/learn/courses/30/lessons/120830

📝 나의 풀이

using System;

public class Solution {
    public int solution(int n, int k) {
        return n * 12000 + (k - n / 10) * 2000;
    }
}

1개의 댓글

comment-user-thumbnail
2023년 7월 20일

항상 좋은 글 감사합니다.

답글 달기

관련 채용 정보