본문 바로가기

Problem Solving/Baekjoon1335

[백준] 5958 Space Exploration - Graph Theory / Java • 문제 링크 5958번: Space Exploration Farmer John's cows have finally blasted off from earth and are now floating around space in their Moocraft. The cows want to reach their fiery kin on Jupiter's moon of Io, but to do this they must first navigate through the dangerous asteroid belt. Bessie www.acmicpc.net • 풀이 과정 • 풀이 코드 import java.io.BufferedReader; import java.io.BufferedWriter; import java.io... 2023. 7. 7.
[백준] 10678 Meeting Time - Graph Theory / Java • 문제 링크 10678번: Meeting Time A single integer, giving the minimum time required for Bessie and Elsie to travel to their favorite field and arrive at the same moment. If this is impossible, or if there is no way for Bessie or Elsie to reach the favorite field at all, output the word IM www.acmicpc.net • 풀이 과정 • 풀이 코드 import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOE.. 2023. 7. 6.
[백준] 5848 Message Relay - Graph Theory / Java • 문제 링크 5848번: Message Relay Farmer John's N cows (1 2023. 7. 5.
[백준] 5938 Daisy Chains in the Field - Graph Theory / Java • 문제 링크 5938번: Daisy Chains in the Field Farmer John let his N (1 2023. 7. 4.
[백준] 17199 Milk Factory - Graph Theory / Java • 문제 링크 17199번: Milk Factory The milk business is booming! Farmer John's milk processing factory consists of $N$ processing stations, conveniently numbered $1 \ldots N$ ($1 \leq N \leq 100$), and $N-1$ walkways, each connecting some pair of stations. (Walkways are expensive, so Farmer www.acmicpc.net • 풀이 과정 • 풀이 코드 import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOE.. 2023. 7. 3.
[백준] 5966 Cow Cotillion - Data Structure / Java • 문제 링크 ") and bulls (shown as " 5966번: Cow Cotillion The cow cotillion, a fancy dance every spring, requires the cows (shown as ">") and bulls (shown as " 2023. 7. 2.