USACO (71) 썸네일형 리스트형 백준 11999 Milk Pails (USACO February 2016 Bronze 1번) 문제 링크: https://www.acmicpc.net/problem/11999 11999번: Milk Pails (Bronze) Farmer John has received an order for exactly \(M\) units of milk (\(1 \leq M \leq 1,000\)) that he needs to fill right away. Unfortunately, his fancy milking machine has just become broken, and all he has are three milk pails of integer sizes \(X\), \(Y\) www.acmicpc.net 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2.. 백준 11978 Mowing the Field (USACO January 2016 Bronze 3번) 문제 링크: https://www.acmicpc.net/problem/11978 11978번: Mowing the Field (Bronze) The first line of input contains \(N\) (\(1 \leq N \leq 100\)). Each of the remaining \(N\) lines contains a single statement and is of the form 'D S', where D is a character describing a direction (N=north, E=east, S=south, W=west) and S is the number of www.acmicpc.net 이미 지나갔던 칸을 재방문할때까지의 시간의 최소값을 구함. 1 2 3 4 5 6 7 .. 백준 11977 Angry Cows (USACO January 2016 Bronze 2번) 문제 링크: https://www.acmicpc.net/problem/11977 11977번: Angry Cows (Bronze) In this example, launching a cow onto the hay bale at position 5 will cause the bales at positions 4 and 6 to explode, each with blast radius 2. These explosions in turn cause the bales at positions 3 and 8 to explode, each with blast radius 3. However, th www.acmicpc.net 왼쪽 따로, 오른쪽 다로 세줌. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1.. 백준 11976 Promotion Counting (USACO January 2016 Bronze 1번) 문제 링크: https://www.acmicpc.net/problem/11976 11976번: Promotion Counting Input consists of four lines, each containing two integers in the range 0..1,000,000. The first line specifies the number of bronze participants registered before and after the contest. The second line specifies the number of silver participants before and www.acmicpc.net Platinum레벨에서부터 시작해서, 바로 전 레벨에서 몇명이 올라왔는지 카운트함. 1 2 3 .. 백준 11972 Contaminated Milk (USACO December 2015 Bronze 3번) 문제 링크: https://www.acmicpc.net/problem/11972 11972번: Contaminated Milk Farmer John, known far and wide for the quality of the milk produced on his farm, is hosting a milk-tasting party for \(N\) of his best friends (\(1 \leq N \leq 50\)). Unfortunately, of the \(M\) types of milk featured at the party (\(1 \leq M \leq 50\)), www.acmicpc.net 먼저 상했을 가능성이 있는 우유들을 찾은 다음, 그 우유를 마신 사람수의 최대값이 답. 1 2 3 .. 백준 11971 속도 위반 (USACO December 2015 Bronze 2번) 문제 링크: https://www.acmicpc.net/problem/11971 11971번: 속도 위반 문제 말썽꾸러기 연정이는 오늘도 태우의 자동차를 몰래타고 신나게 도로를 달리는 중이다. 도로는 정확히 100km 이고, 연정이는 무조건 도로의 끝까지 달려야한다. 도로의 각 구간에는 제한속도를 지정해 두었으나 쿨한 연정이는 속도 위반에는 개의치 않아 (더군다나 자신의 차도 아니므로) 자신이 원하는 속도로 달린다. 도로는 N개의 구간으로 나뉘며 각 구간에는 도로 길이와 해당 도로의 제한속도가 주어진다. 도로 N개의 총 합은 100km 이며 각 구간별 도로 www.acmicpc.net limit이라는 벡터에 도로길이와 제한속도를, speed라는 벡터에 도로길이와 달린속도를 입력받아서, 도로를 전체 훑으면.. 백준 11970 Fence Painting (USACO December 2015 Bronze 1번) 문제 링크: https://www.acmicpc.net/problem/11970 11970번: Fence Painting Several seasons of hot summers and cold winters have taken their toll on Farmer John's fence, and he decides it is time to repaint it, along with the help of his favorite cow, Bessie. Unfortunately, while Bessie is actually remarkably proficient at paintin www.acmicpc.net fence라는 배열에 a에서 b-1까지, c에서 d-1까지 1을 입력하고, 1의 갯수를 카운트함. 1 .. 이전 1 ··· 6 7 8 9 다음