自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 问答 (2)
  • 收藏
  • 关注

原创 USACO 2.1 Ordered Fractions

题目原文Ordered FractionsConsider 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/

2014-10-30 17:31:20 558

原创 USACO Section 2.1 The Castle

题目原文:The CastleIOI'94 - Day 1In 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 t

2014-10-30 17:07:34 408

原创 USACO Section 1.5 Superprime Rib

题目原文Superprime RibButchering Farmer John's cows always yields the best prime rib. You can tell prime ribs by looking at the digits lovingly stamped across them, one by one, by FJ and the USD

2014-10-24 14:14:38 515

原创 USACO Section 1.5 Prime Palindromes

题目原文Prime PalindromesThe number 151 is a prime palindrome because it is both a prime number and a palindrome (it is the same number when read forward as backward). Write a program that finds

2014-10-24 13:21:03 423

原创 USACO Section 1.5 Number Triangles

题目原文Number TrianglesConsider 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 somewhe

2014-10-23 16:44:44 504

原创 USACO Section 1.4 Mother's Milk

题目原文Mother's MilkFarmer John has three milking buckets of capacity A, B, and C liters. Each of the numbers A, B, and C is an integer from 1 through 20, inclusive. Initially, buckets A and B ar

2014-10-18 21:43:19 466

原创 USACO Section1.4 Arithmetic Progressions

题目原文Arithmetic ProgressionsAn arithmetic progression is a sequence of the form a, a+b, a+2b, ..., a+nb where n=0,1,2,3,... . For this problem, a is a non-negative integer and b is a positive i

2014-10-17 22:09:39 758

原创 USACO Section 1.3 Wormholes

题目原文WormholesFarmer John's hobby of conducting high-energy physics experiments on weekends has backfired, causing N wormholes (2 <= N <= 12, N even) to materialize on his farm, each located at

2014-10-17 20:27:42 3126 1

原创 USACO Section 1.3 Ski Course Design

题目原文Ski Course DesignFarmer John has N hills on his farm (1 Unfortunately, FJ has just found out about a new tax that will be assessed next year on farms used as ski training camps. Upon car

2014-10-17 15:38:47 1217

原创 USACO Section 1.3 Combination Lock

题目原文Combination LockFarmer John's cows keep escaping from his farm and causing mischief. To try and prevent them from leaving, he purchases a fancy combination lock to keep his cows from openi

2014-10-15 19:00:49 1588 1

原创 USACO Section 1.3 Prime Cryptarithm

题目原文Prime CryptarithmThe following cryptarithm is a multiplication problem that can be solved by substituting digits from a specified set of N digits into the positions marked with *. If the s

2014-10-15 16:34:34 608

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除