[프로그래머스 | Lv.0] 양꼬치

728x90
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;
    }
}
728x90