
class Solution {
public int solution(int n, int t) {
return n * (int) Math.pow(2, t);
}
}'Coding Test > 프로그래머스' 카테고리의 다른 글
| [프로그래머스/자바] 수 조작하기 1 (0) | 2023.05.01 |
|---|---|
| [프로그래머스/자바] n 번째 원소부터 (0) | 2023.05.01 |
| [프로그래머스/자바] 옷가게 할인받기 (0) | 2023.04.27 |
| [프로그래머스/자바] 부분 문자열인지 확인하기 (0) | 2023.04.27 |
| [프로그래머스/자바] 기능개발 (0) | 2023.04.27 |