목록로또 (1)
hara
BEAKJOON JAVA ALGORITHM #6603(로또)
https://www.acmicpc.net/problem/6603 import java.util.ArrayList; import java.util.Scanner; public class a6603 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(true) { int k = sc.nextInt(); if(k == 0) break; int[] s = new int[k]; for(int i=0; i
공부/알고리즘
2017. 8. 14. 17:05