[프로그래머스]세균 증식

박예림·2023년 3월 8일
0

코테

목록 보기
48/132

class Solution {
    public int solution(int n, int t) {
        
        for (int i=1; i<=t; i++){
            n*=2;
        }
        
        return n;
    }
}
profile
응애 나 아기개발자

0개의 댓글

Powered by GraphCDN, the GraphQL CDN