Problem Solving/Baekjoon1335 [백준] 23568 Find the House - Data Structure / Java • 문제 링크 23568번: Find the House Your program is to read from standard input. The input starts with a line containing an integer $n$ ($1 ≤ n ≤ 10,000$), where $n$ is the number of triples in the list. In the following $n$ lines, $n$ triples are given where each triple is represented a www.acmicpc.net • 풀이 과정 • 풀이 코드 import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOExc.. 2023. 7. 1. [백준] 10654 Cow Jog - Data Structure / Java • 문제 링크 10654번: Cow Jog The cows are out exercising their hooves again! There are N cows jogging on an infinitely-long single-lane track (1 = reach) stk.pop(); stk.push(reach); } bw.write(String.valueOf(stk.size())); bw.flush(); } } 2023. 6. 30. [백준] 10657 Cow Jog - Data Structure / Java • 문제 링크 10657번: Cow Jog The cows are out exercising their hooves again! There are N cows jogging on an infinitely-long single-lane track (1 speed) stk.pop(); stk.push(speed); } bw.write(String.valueOf(stk.size())); bw.flush(); } } 2023. 6. 30. [백준] 10527 Judging Troubles - Data Structure / Java • 문제 링크 10527번: Judging Troubles The NWERC organisers have decided that they want to improve the automatic grading of the submissions for the contest, so they now use two systems: DOMjudge and Kattis. Each submission is judged by both systems and the grading results are compared to make s www.acmicpc.net • 풀이 과정 • 풀이 코드 import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.. 2023. 6. 29. [백준] 15233 Final Score - Data Structure / Java • 문제 링크 15233번: Final Score We have had a problem with one of our hard disks and we lost the final score of some football matches. However, we have been able to recover the names of the players that scored and found the members of each team on Wikipedia. www.acmicpc.net • 풀이 과정 • 풀이 코드 import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputS.. 2023. 6. 28. [백준] 13915 Hot Air Ballooning - Data Structure / Java • 문제 링크 13915번: Hot Air Ballooning Dave is the director of the Summer school of hot air ballooning. Being a responsible director, he keeps a list of flights of each trainee in the school. After each flight, Dave appends a note to the lists of flights of each trainee participating in that pa www.acmicpc.net • 풀이 과정 • 풀이 코드 import java.io.BufferedReader; import java.io.BufferedWriter; import java... 2023. 6. 27. 이전 1 ··· 149 150 151 152 153 154 155 ··· 223 다음