목록리모콘 (1)
hara
BEAKJOON JAVA ALGORITHM #1107(리모콘)
https://www.acmicpc.net/problem/1107 import java.util.Scanner; public class a1107 { static boolean[] wNum = new boolean[10]; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num = sc.nextInt(); int wCnt = sc.nextInt(); for(int i=0 ; i len + press) { result = len + press; } } } System.out.println(result); } public static int len(int num) { if(num == 0) { if(wNum[0..
공부/알고리즘
2017. 8. 9. 22:43