세균증식1 [ 프로그래머스 ] 세균 증식 문제 풀이 for문을 이용하여 n*2를 t 시간만틈 반복해준다. 결과 class Solution { public int solution(int n, int t) { for(int i=0; i 2024. 3. 1. 이전 1 다음