java32 [JAVA] 프로그래머스 - 위장 programmers.co.kr/learn/courses/30/lessons/42578 코딩테스트 연습 - 위장 programmers.co.kr import java.util.*; class Solution { public int solution(String[][] clothes) { int answer = 0; Set set = new HashSet(); // 물건들의 종류를 위한 HashSet for(int i=0; i 2020. 12. 15. [JAVA] 백준 15685 드래곤 커브 전체 코드 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.StringTokenizer; public class bj_15685 { static int N; static boolean[][] map = new boolean[101][101]; static int dy[] = { 0, -1, 0, 1 }; static int dx[] = { 1, 0, -1, 0 }; static ArrayList arr; public static void main(String[] args) throws NumberFormatE.. 2020. 11. 8. [JAVA] 백준 3190 뱀 전체 코드 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.PriorityQueue; import java.util.Stack; import java.util.StringTokenizer; public class Main { static int N, K, L; static class move implements Comparable { int time; String des; public move(int time, String des) { super(); this.time = time; this.des = des.. 2020. 10. 31. [JAVA] 백준 1507 궁금한 민호 전체코드 package study1004; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class BJ_1507 { static int N; static int arr[][]; static int dis[][]; public static void main(String[] args) throws NumberFormatException, IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokeniz.. 2020. 10. 3. 이전 1 2 3 4 5 6 7 8 다음