목록BaekJoon (54)
개발도생's Blog
[백준] 5358_Football Team 문제 5358번: Football Team Print the same list of names with every ‘i’ replaced with an ‘e’, every ‘e’ replaced with an ‘i’, every ‘I’ replaced with an ‘E’, and every ‘E’ replaced with an ‘I’. www.acmicpc.net 축구팀 명단에 이름을 수정해야 된다는 내용이고, 소문자 'e'는 'i'로, 대문자 'E'는 'I'로 바꿔주면 된다. 반대로 'i'는 'e'로 'I'는 'E'로 변경해 달라는 문제다. import java.io.BufferedReader; import java.io.IOException; import ..
[백준] 5357_Dedupe 문제 5357번: Dedupe Redundancy in this world is pointless. Let’s get rid of all redundancy. For example AAABB is redundant. Why not just use AB? Given a string, remove all consecutive letters that are the same. www.acmicpc.net 문제를 보기보다는 입력과 출력 값만 보고 풀었던 문제다. import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public stati..
[백준] 5300_Fill the Rowboats! 문제 5300번: Fill the Rowboats! The output will be the number of each pirate separated by spaces, with the word ”Go!” after every 6th pirate, and after the last pirate. www.acmicpc.net 선장 잭이라는 사람이 배를 인수하려고 하는데, 노를 젓는 선원의 숫자를 세줘야 한다. 노를 젓는 선원은 6인 1조이기 때문에 6명씩 끊어서 파악해야 한다는 거 같다. import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; p..
[백준] 16600_Contemporary Art 문제 16600번: Contemporary Art At the Van Abbemuseum of modern and contemporary art in Eindhoven, we always look to present our muses in the most interesting way possible. Sometimes we have our work cut out for us. Today we are exploring whether we can modify one of our perfectly-square www.acmicpc.net 번역기를 돌려서 문제를 풀어보려 했지만, 무슨 말인지 전혀 모르겠었다. 그래서 입출력 내용들을 봤는데 이전에 풀었던 방법과 ..
[백준] 20353_Atrium 문제 20353번: Atrium The atrium of a traditional Roman dormus, much like the atria of today, is a perfectly square room designed for residents and guests to congregate in and to enjoy the sunlight streaming in from above. Or, in the case of Britannia, the rain streaming in fro www.acmicpc.net 정사각형의 넓이가 주어지면, 주어진 값으로 한 변의 길이를 구해서 곱하기 4를 해주면 되는 문제다. 번역기를 돌려봤지만, 정확한 내용을 파악하긴 어려웠다. 대략..