[백준,BOJ 2884] 알람 시계(JAVA 구현)
·
CodingTest/백준 온라인 저지(BOJ)
-해법 import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); int h = in.nextInt(); int m = in.nextInt(); m-=45; if(m