| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| 31 |
- 문제해결
- 문자열
- db
- 이분탐색
- oracle
- COS PRO
- 운동기록
- SWEA
- priorityqueue
- 코테
- 건강
- 알고리즘
- dfs
- greedy
- 투포인터
- BOJ
- DP
- SQL
- 문제풀이
- MySQL
- 자바
- binary search
- 러닝일지
- math
- 프로그래머스
- 백준
- 시뮬레이션
- Java
- 코딩테스트
- BFS
- Today
- Total
목록전체 글 (534)
슈콩
[문제]https://www.acmicpc.net/problem/2667 [소스 코드]import java.util.*;import java.io.*;public class Solution { static int[] dr = {-1,1,0,0}; static int[] dc = {0,0,-1,1}; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st; int n = Integer.parseInt(br.readLine()); int[][] map = new int[n][n]; ..
[문제] https://www.acmicpc.net/problem/2606 [소스 코드]import java.util.*;import java.io.*;public class Solution { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st; int n = Integer.parseInt(br.readLine()); int m = Integer.parseInt(br.readLine()); int[] map = new int[n+1]; boolean[][] visit = ..
[문제] https://www.acmicpc.net/problem/2178 [소스 코드]import java.util.*;import java.io.*;public class Solution { static int[] dr = {-1,1,0,0}; static int[] dc = {0,0,-1,1}; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); int n = Integer.parseInt(st.nextTo..
[문제] https://www.acmicpc.net/problem/1260 [소스 코드]import java.util.*;import java.io.*;public class Solution { static int n; static boolean[][] visit; static boolean[] check; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); n = Integer.parseInt(st.nextT..
[소스 코드]class Main { final int INC = 0; final int DEC = 1; int[] func_a(int[] arr){ int length = arr.length; int[] ret = new int[length]; ret[0] = 1; for(int i = 1; i arr[i-1]) ret[i] = INC; else if(arr[i]
[소스 코드]class Main { public int solution(int K, int[] numbers, String[] UpDown) { int left = 1; int right = K; for(int i = 0; i
[소스 코드]class Main { public int solution(int[][] grid) { int answer = 0; for(int i = 0; i
[소스 코드]class Main { public int solution(int[][] board) { int answer = 0; int[][] coins = new int[4][4]; for(int i = 0; i
[소스 코드]class Main { public int solution(int n, int mix, int k) { int answer = 0; int[] card = new int[n]; for(int i = 0; i
[소스 코드]import java.util.*;class Main { int answer; boolean[] visit; public int solution(int[] arr, int K) { answer = Integer.MAX_VALUE; visit = new boolean[arr.length]; combi(0,0,arr,K); return answer; } public void combi(int idx,int cnt,int[] arr,int k){ if(cnt==k){ int min = Integer.MAX_VALUE; int max = Integer.MIN_VALUE; ..