25811 [Java] 백준 2581번 : 소수 import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int M = in.nextInt(); int N = in.nextInt(); int[] nums = new int[N+1]; for(int i=2; i 2019. 9. 5. 이전 1 다음