🧫 문제 분석✔️ 출처프로그래머스 PCCP 기출문제 1번 / 붕대감기📖 문제🔅 문제 풀이class Solution { public static int solution(int[] bandage, int health, int[][] attacks) { int time = 0; int timeIndex = 0; int healthTime = 0; int maxHp = health; //공격 시간 int attackTime = attacks[timeIndex][0]; while(health > 0) { time++; if (timeIndex == attacks.length ..