코딩 문제/백준
2021. 3. 15.
백준 - 4796번
문제 import java.util.Scanner; public class Main { public static void main(String[] args) { int check = 0; int possible = 0, date = 0, vacation = 0; int a = 0, b = 0, answer = 0, caseNum = 1; // 몫, 나머지, 출력 값, case Scanner scan = new Scanner(System.in); while(check == 0){ possible = scan.nextInt(); date = scan.nextInt(); vacation = scan.nextInt(); if(possible == 0 && date == 0 && vacation == 0){ ch..