반응형 SMALL 알고리즘402 [BOJ/JAVA] 백준 1547 : 공 (자바) 문제 정보 문제명 - 공 난이도 - 브론즈 III 문제 번호 - 1547번 문제 링크 https://www.acmicpc.net/problem/1547 1547번: 공 첫째 줄에 컵의 위치를 바꾼 횟수 M이 주어지며, M은 50보다 작거나 같은 자연수이다. 둘째 줄부터 M개의 줄에는 컵의 위치를 바꾼 방법 X와 Y가 주어지며, X번 컵과 Y번 컵의 위치를 서로 바꾸는 것 www.acmicpc.net 문제 세준이는 컵 3개를 탁자 위에 일렬로 엎어놓았다. 컵의 번호는 맨 왼쪽 컵부터 순서대로 1번, 2번 3번이고, 세준이는 이 컵을 이용해서 게임을 하려고 한다. 먼저 1번 컵의 아래에 공을 하나 넣는다. 세준이는 두 컵을 고른 다음, 그 위치를 맞바꾸려고 한다. 예를 들어, 고른 컵이 1번과 2번이라면, .. 2023. 7. 17. [BOJ/JAVA] 백준 4696 : St. lves (자바) 문제 정보 문제명 - St. lves 난이도 - 브론즈 IV 문제 번호 - 4696번 문제 링크 https://www.acmicpc.net/problem/4696 4696번: St. Ives Input consists of multiple data sets. Each data set consists of a line with a single floating point number number representing the numbers of wives, sacks per wife, cats per sack, and kittens per cat that Robert encountered that year. End of input is indic www.acmicpc.net 문제 Robert the chap.. 2023. 7. 16. [BOJ/JAVA] 백준 5341 : Pyramids (자바) 문제 정보 문제명 - Pyramids 난이도 - 브론즈 V 문제 번호 - 5341번 문제 링크 https://www.acmicpc.net/problem/5341 5341번: Pyramids The input will be a sequence of integers, one per line. The end of input will be signaled by the integer 0, and does not represent the base of a pyramid. All integers, other than the last (zero), are positive. www.acmicpc.net 문제 A pyramid of blocks is constructed by first building a base lay.. 2023. 7. 15. [BOJ/JAVA] 백준 4589 : Gnome Sequencing (자바) 문제 정보 문제명 - Gnome Sequencing 난이도 - 브론즈 IV 문제 번호 - 4589번 문제 링크 https://www.acmicpc.net/problem/4589 4589번: Gnome Sequencing In the book All Creatures of Mythology, gnomes are kind, bearded creatures, while goblins tend to be bossy and simple-minded. The goblins like to harass the gnomes by making them line up in groups of three, ordered by the length of their beards. The gnomes www.acmicpc.net 문제.. 2023. 7. 14. 이전 1 ··· 6 7 8 9 10 11 12 ··· 101 다음 반응형 LIST