728x90

백준 83

108 삐약 : 백준 17266 | 어두운 굴다리 [이분 탐색|Binary Search |JAVA]

https://www.acmicpc.net/problem/17266  package BOJ;import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;public class BOJ_17266 { static int[] lights; static int N, M; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); N = Integer.parseInt(br.readLine()); ..

107 삐약 : 백준 19583 | 싸이버개강총회 [바킹독| HASH |JAVA]

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

106 삐약 : 백준 11478 | 서로다른 부분 문자열의 개수 [바킹독| HASH |JAVA]

https://www.acmicpc.net/problem/11478  package BKD_0x15_Hash;import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.HashSet;public class BOJ_11478 { public static void main(String[] args) throws IOException { HashSet set = new HashSet(); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String inp..

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 =..

100 삐약 : 백준 7785 | 회사에 있는 사람 [바킹독| HASH |JAVA]

https://www.acmicpc.net/problem/7785 package BKD_0x15_Hash;import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.*;public class BOJ_7785 { public static void main(String[] args) throws IOException { HashSet set = new HashSet(); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int N = Integer.par..

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..

728x90