개발자가 되기까지 (2023.08.16~2024.04.15)/[Algorithm] Programmers ver.Java2023. 12. 23. 20:29프로그래머스 Lv.0 세균 증식
class Solution { public int solution(int n, int t) { int answer = n * (int) Math.pow(2, t); return answer; } }
class Solution { public int solution(int n, int t) { int answer = n * (int) Math.pow(2, t); return answer; } }