728x90

Java 90

105 삐약 : 백준 16165 | 걸그룹마스터 준석이 [바킹독| HASH |JAVA]

https://www.acmicpc.net/problem/16165  package BKD_0x15_Hash;import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.*;public class BOJ_16165 { public static void main(String[] args) throws IOException { HashMap memberMap = new HashMap(); //key : member HashMap groupMap = new HashMap(); //key : group BufferedReader br = n..

104 삐약 : 백준 9375 | 패션왕 신혜빈 [바킹독| HASH |JAVA]

https://www.acmicpc.net/problem/9375 package BKD_0x15_Hash;import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.HashMap;import java.util.Iterator;public class BOJ_9375 { public static void main(String[] args) throws IOException { BufferedReader br= new BufferedReader(new InputStreamReader(System.in)); HashMap map = new HashMa..

103 삐약 : 백준 17219 | 비밀번호 찾기 [바킹독| HASH |JAVA]

https://www.acmicpc.net/problem/17219 package BKD_0x15_Hash;import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.HashMap;import java.util.Iterator;import java.util.StringTokenizer;public class BOJ_17219 { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.i..

102 삐약 : 백준 13414 | 수강신청 [바킹독| HASH |JAVA]

https://www.acmicpc.net/problem/13414 package BKD_0x15_Hash;import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.LinkedHashSet;import java.util.StringTokenizer;public class BOJ_13414 { public static void main(String[] args) throws IOException { LinkedHashSet set = new LinkedHashSet(); BufferedReader br = new BufferedReader(ne..

101 삐약 : 백준 1620 | 나는야 포켓몬 마스터 이다솜 [바킹독| HASH |JAVA]

https://www.acmicpc.net/problem/1620 package BKD_0x15_Hash;import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.HashMap;import java.util.StringTokenizer;public class BOJ_1620 { public static void main(String[] args) throws IOException { HashMap strKey = new HashMap(); HashMap intKey = new HashMap(); BufferedReader br =..

99 삐약 : 백준 1182 | 부분 수열의 합 [바킹독| 백트래킹 |JAVA]

https://www.acmicpc.net/problem/1182  package BKD_0x0C_BackTracking;import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.StringTokenizer;public class BOJ_1182 { static int N,S; static int[] arr= new int[30]; static int count=0; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReade..

98 삐약 : 백준 9663 | N-Queen [바킹독| 백트래킹 |JAVA]

https://www.acmicpc.net/problem/9663 package BKD_0x0C_BackTracking;import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;public class BOJ_9663 { static int N; static int count=0; static boolean[] visited1 = new boolean[40]; static boolean[] visited2 = new boolean[40]; static boolean[] visited3= new boolean[40]; public static void main(String[..

95 삐약 : 백준 2630 | 쿼드트리 [바킹독| 재귀 |JAVA]

https://www.acmicpc.net/problem/1992  package BKD_0x0B_Recursion;import java.io.*;import java.util.StringTokenizer;public class BOJ_1992 { static char[][] input; static int white, blue =0; static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new Inpu..

728x90