| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- 알고리즘
- SQL
- 코딩테스트
- 운동기록
- db
- greedy
- 문제풀이
- MySQL
- 프로그래머스
- 시뮬레이션
- 백준
- 코테
- 러닝일지
- priorityqueue
- DP
- binary search
- 투포인터
- BFS
- Java
- math
- BOJ
- dfs
- 문제해결
- 건강
- SWEA
- 문자열
- oracle
- COS PRO
- 자바
- 이분탐색
- Today
- Total
목록priorityqueue (3)
슈콩
[문제]https://school.programmers.co.kr/learn/courses/30/lessons/155651#qna 프로그래머스SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr [소스 코드]import java.util.*;class Solution { public int solution(String[][] book_time) { int answer = 0; Arrays.sort(book_time, (a, b) -> a[0].compareTo(b[0])); PriorityQueue pq = new PriorityQueue(); for (int i = 0; i
BFS도 가능 ! [문제]https://www.acmicpc.net/problem/17135 [소스 코드]import java.io.*;import java.util.*;public class Main { static int n,m,d,result; static int[][] map; static int[] archers = new int[3]; static int[] dr = {0,-1,0}; static int[] dc = {-1,0,1}; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTok..
[문제]https://www.acmicpc.net/problem/16236 [소스 코드]import java.io.*;import java.util.*;public class Main { static int[] shark = new int[2]; 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()); ..