Eau de Cologne
7주차 연습 본문
https://www.acmicpc.net/problem/2437
2437번: 저울
하나의 양팔 저울을 이용하여 물건의 무게를 측정하려고 한다. 이 저울의 양 팔의 끝에는 물건이나 추를 올려놓는 접시가 달려 있고, 양팔의 길이는 같다. 또한, 저울의 한쪽에는 저울추들만 놓
www.acmicpc.net
풀이
이후 작성
https://www.acmicpc.net/problem/24762
24762번: Ticket Completed?
The first line of input contains two integers $N$ ($2 \leq N \leq 10^5$), which is the number of cities, and $M$ ($0 \leq M \leq 10^6$), which is the number of rail segments you have claimed. The next $M$ lines describe your claimed rail segments. Each lin
www.acmicpc.net
풀이
이후 작성
https://www.acmicpc.net/problem/23948
23948번: The Equation
The first line of the input gives the number of test cases, T. T test cases follow. Each test case begins with a line containing the two integers N and M, the number of integers in A and the limit on the equation, respectively. The second line cont
www.acmicpc.net
풀이
이후 작성
https://www.acmicpc.net/problem/2375
2375번: 농구 골대 세우기
첫 줄에 농구를 좋아하는 마을의 개수인 n이 주어지고 다음 줄부터 xi, yi, pi와 같이 한 줄에 농구를 좋아하는 하나의 마을에 대한 정보가 주어진다. 두 마을의 위치가 같은 경우는 없다.
www.acmicpc.net
풀이
이후 작성
https://www.acmicpc.net/problem/6087
6087번: 레이저 통신
크기가 1×1인 정사각형으로 나누어진 W×H 크기의 지도가 있다. 지도의 각 칸은 빈 칸이거나 벽이며, 두 칸은 'C'로 표시되어 있는 칸이다. 'C'로 표시되어 있는 두 칸을 레이저로 통신하기 위해서
www.acmicpc.net
풀이
이후 작성
https://www.acmicpc.net/problem/16116
16116번: 작은 큐브러버
8개의 줄에 걸쳐 각 조각을 스티커가 붙어 있는 세 개의 면이 전부 보이도록 놓았을 때, 각 스티커에 칠해진 색을 윗면, 왼쪽 면, 오른쪽 면 순서로 읽은 결과가 주어진다. 각각의 색은 B(blue), G(gre
www.acmicpc.net
풀이
이후 작성
https://www.acmicpc.net/problem/6248
6248번: Bronze Cow Party
One cow from each of N farms (1 <= N <= 1000) conveniently numbered 1..N is attending the big cow party to be held at farm #X (1 <= X <= N). Each of M (1 <= M <= 100,000) bidirectional roads connects one farm to another. It is always possible to travel fro
www.acmicpc.net
풀이
이후 작성
'acmicpc.net' 카테고리의 다른 글
9주차 연습 (0) | 2022.06.26 |
---|---|
8주차 연습 (0) | 2022.06.26 |
6주차 연습 (0) | 2022.05.01 |
5주차 연습 (2) (0) | 2022.04.06 |
5주차 연습 (1) (0) | 2022.04.06 |