USACO
文章平均质量分 81
Eng_your
这个作者很懒,什么都没留下…
展开
-
USACO——Number Triangles 数字金字塔
Number Triangles Consider the number triangle shown below. Write a program that calculates the highest sum of numbers that can be passed on a route that starts at the top and ends somewhere on th原创 2015-06-20 13:58:35 · 597 阅读 · 0 评论 -
USACO——Healthy Holsteins
Healthy Holsteins Burch & Kolstad Farmer John prides himself on having the healthiest dairy cows in the world. He knows the vitamin content for one scoop of each feed type and the minimum daily vi原创 2015-07-27 19:53:30 · 488 阅读 · 0 评论 -
USACO——Hamming Codes
Hamming Codes Rob Kolstad Given N, B, and D: Find a set of N codewords (1 <= N <= 64), each of length B bits (1 <= B <= 8), such that each of the codewords is at least Hamming distance of D (1 <=原创 2015-07-27 19:50:00 · 477 阅读 · 0 评论 -
USACO——Ordered Fractions
Ordered Fractions Consider the set of all reduced fractions between 0 and 1 inclusive with denominators less than or equal to N. Here is the set when N = 5: 0/1 1/5 1/4 1/3 2/5 1/2 3/5 2/3 3/4原创 2015-07-27 19:44:09 · 428 阅读 · 0 评论 -
USACO——The Castle
The Castle IOI'94 - Day 1 In a stroke of luck almost beyond imagination, Farmer John was sent a ticket to the Irish Sweepstakes (really a lottery) for his birthday. This ticket turned out to原创 2015-07-27 19:42:24 · 372 阅读 · 0 评论 -
USACO——Palindromic Squares 回文平方数
Palindromic Squares Rob Kolstad Palindromes are numbers that read the same forwards as backwards. The number 12321 is a typical palindrome. Given a number base B (2 <= B <= 20 base 10), print all原创 2015-06-20 13:47:53 · 669 阅读 · 0 评论 -
USACO——Milking Cows 挤牛奶
最近开始系统刷USACO,看这进度只能一星期一单元,不积跬步无以至千里,希望能坚持 Milking Cows Three farmers rise at 5 am each morning and head for the barn to milk three cows. The first farmer begins milking his cow at time 300 (meas原创 2015-06-20 13:30:24 · 1019 阅读 · 0 评论 -
USACO——Name That Number 命名那个数字
Name That Number Among the large Wisconsin cattle ranchers, it is customary to brand cows with serial numbers to please the Accounting Department. The cow hands don't appreciate the advantage of原创 2015-06-20 13:43:39 · 1006 阅读 · 0 评论 -
USACO——Sorting a Three-Valued Sequence
Sorting a Three-Valued Sequence IOI'96 - Day 2 Sorting is one of the most frequently performed computational tasks. Consider the special sorting problem in which the records to be sorted have at原创 2015-07-27 19:46:09 · 410 阅读 · 0 评论