- 博客(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
空空如也
为什么Boost库的搜索函数明显比std的search慢?
2015-06-30
安装VC6后qt项目无法编译
2014-11-07
TA创建的收藏夹 TA关注的收藏夹
TA关注的人