전체 글 썸네일형 리스트형 Jungol_Beginner_수학2 1009 : 각 자리수의 역과 합(Number Reverse) import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.util.StringTokenizer; public class Main { public static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); public static void main(String[] args) throws IOException { .. 더보기 Jungol_Beginner_도형만들기2 1523 : 별삼각형1 import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws IOException { // TODO Auto-generated method stub BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); Str.. 더보기 Jungol_Beginner_수학1 1692 : 곱셈 import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws IOException { // TODO Auto-generated method stub BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); Buffer.. 더보기 Jungol_Beginner_도형만들기1 1291 : 구구단 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws IOException { // TODO Auto-generated method stub int i, j; int n, m; BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(in.readLin.. 더보기 2567 : 싸이클 import java.util.Scanner; public class Main { static int n, p; static int arr[] = new int [101]; static int visit[] = new int [1001]; static int cnt; public static void main(String[] args) { // TODO Auto-generated method stub Scanner scan = new Scanner(System.in); int i; n = scan.nextInt(); p = scan.nextInt(); System.out.print(f(n,p,1)); } private static int f(int num,int p,int cnt) { // TODO Au.. 더보기 1490 : 다음 조합(next combination) import java.util.Scanner; public class Main { static int n, k; static int su[] = new int [101]; static int arr[] = new int [101]; static int flag=0; static int way = 0; public static void main(String[] args) { // TODO Auto-generated method stub Scanner scan = new Scanner(System.in); int i; n = scan.nextInt(); k = scan.nextInt(); for (i = 1; i k) { if(flag==1) { output(); way=1; flag=0; } check().. 더보기 2817 : 로또(Lotto) import java.util.Arrays; import java.util.Scanner; public class Main { static int k; static int si[] = new int [51]; static int arr[] = new int [101]; public static void main(String[] args) { // TODO Auto-generated method stub Scanner scan = new Scanner(System.in); int i; k = scan.nextInt(); for (i = 1; i 6) { output(); return; } for (i = s; i 더보기 1021 : 장난감조립 import java.util.Scanner; public class Main { static int n, m; static int arr[][] = new int [101][6]; static int[] res = new int [101]; public static void main(String[] args) { // TODO Auto-generated method stub Scanner scan = new Scanner(System.in); int i, j; n = scan.nextInt(); m = scan.nextInt(); for (i = 0; i < m; i++) { for (j = 0; j < 3; j++) { arr[i][j] = scan.nextInt(); } } f(n,1); for (.. 더보기 이전 1 2 3 4 ··· 6 다음