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
- 문제풀이
- 코딩테스트
- 자바
- 이분탐색
- SWEA
- SQL
- 러닝일지
- DP
- MySQL
- 운동기록
- 프로그래머스
- BOJ
- 문자열
- BFS
- 백준
- oracle
- 알고리즘
- priorityqueue
- 시뮬레이션
- Java
- 투포인터
- math
- COS PRO
- binary search
- dfs
- 코테
- 건강
- greedy
- db
- 문제해결
Archives
- Today
- Total
목록HashMap (2)
슈콩
[프로그래머스] Lv.2 시소 짝꿍
[문제]https://school.programmers.co.kr/learn/courses/30/lessons/152996 프로그래머스SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr [소스 코드]import java.util.*;class Solution { public long solution(int[] weights) { long answer = 0; Arrays.sort(weights); Map hm = new HashMap(); for(int w : weights){ double a = w * 1.0; double b =..
Algorithms/Programmers
2025. 10. 22. 00:03
[BOJ] 백준 10815 숫자 카드
[문제]https://www.acmicpc.net/problem/10815 [소스 코드]import java.io.*;import java.util.*;public class Main { public static void main(String[] args) throws IOException { StringBuilder sb = new StringBuilder(); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st; int n = Integer.parseInt(br.readLine()); HashMap hm = new HashMap(); st = new StringTokenize..
Algorithms/Baekjoon
2025. 9. 16. 22:59