Problem Solving1242 [백준] 26876 New Time - Graph Theory / Java • 문제 링크 26876번: New Time Nikolay has a digital clock that displays time in 24-hour format, showing two integers: hours (from $00$ to $23$) and minutes (from $00$ to $59$). For example, the clock can show 00:00, 18:42, or 23:59. The clock has two buttons that can be used for manual www.acmicpc.net • 풀이 코드 import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; im.. 2023. 11. 13. [백준] 6798 Knight Hop - Graph Theory / Java • 문제 링크 6798번: Knight Hop Below is an 8 × 8 chessboard on which we will designate square locations using the ordered pairs as indicated. For example, notice that piece A is at position (2, 2) and piece B is at position (4, 3). A knight is a special game piece that can leap over ot www.acmicpc.net • 풀이 코드 import java.io.BufferedWriter; import java.io.IOException; import java.io.OutputStreamWriter.. 2023. 11. 12. [백준] 4575 Refrigerator Magnets - Data Structure / Java • 문제 링크 4575번: Refrigerator Magnets Like many families with small children, my family’s refrigerator is adorned with a set of alphabet magnets: 26 separate magnets, each containing one letter of the alphabet. These magnets can be rearranged to create words and phrases. I feel it is my pa www.acmicpc.net • 풀이 코드 import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOExcept.. 2023. 11. 11. [백준] 16524 Database of Clients - Data Structure / Java • 문제 링크 16524번: Database of Clients The first line contains an integer N (1 ≤ N ≤ 1000) representing the number of email addresses in the database. Each of the next N lines contains a string of at most 100 characters representing an email address in the database. Each email address has t www.acmicpc.net • 풀이 코드 import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOExcept.. 2023. 11. 10. [백준] 25329 학생별 통화 요금 계산 - Data Structure / Java • 문제 링크 25329번: 학생별 통화 요금 계산 학생들이 한 달간 통화한 n개의 통화 기록 A가 주어진다. 한 개의 통화 기록은 통화 시간과 학생 이름이 공백으로 구분되어 주어진다. 한 학생의 통화 기록이 여러 번 주어질 수 있다. 통화 시간 www.acmicpc.net • 풀이 코드 import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.util.ArrayList; import java.util.Comparator; import java.util.Has.. 2023. 11. 9. [백준] 6165 Game of Lines - Data Structure / Java • 문제 링크 6165번: Game of Lines Farmer John has challenged Bessie to the following game: FJ has a board with dots marked at N (2 2023. 11. 8. 이전 1 ··· 111 112 113 114 115 116 117 ··· 207 다음