Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- COS PRO
- BFS
- 운동기록
- 시뮬레이션
- math
- MySQL
- BOJ
- dfs
- 프로그래머스
- DP
- 알고리즘
- db
- 투포인터
- priorityqueue
- 러닝일지
- 문자열
- SQL
- 이분탐색
- 문제풀이
- binary search
- SWEA
- 건강
- 코테
- 백준
- Java
- oracle
- greedy
- 문제해결
- 자바
- 코딩테스트
Archives
- Today
- Total
목록2026/01/05 (1)
슈콩
COS PRO 1급 JAVA 큰수와 작은수의 차이
[소스 코드]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; ..
카테고리 없음
2026. 1. 5. 23:14