![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
usaco解题报告
versionwen
这个作者很懒,什么都没留下…
展开
-
Your Ride Is Here
题目描述:It is a well-known fact that behind every good comet is a UFO. These UFOs often come to collect loyal supporters from here on Earth. Unfortunately, they only have room to pick up one group of f...原创 2019-07-17 12:18:10 · 330 阅读 · 0 评论 -
Agri-Net
题目描述:Farmer John has been elected mayor of his town! One of his campaign promises was to bring internet connectivity to all farms in the area. He needs your help, of course.Farmer John ordered a h...原创 2019-08-16 22:53:00 · 858 阅读 · 0 评论 -
Bessie Come Home
题目描述:It's dinner time, and the cows are out in their separate pastures. Farmer John rings the bell so they will start walking to the barn. Your job is to figure out which one cow gets to the barn fi...原创 2019-08-11 23:32:57 · 175 阅读 · 0 评论 -
Prime Palindromes
题目描述:The 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 all prime palindromes i...原创 2019-07-27 22:15:47 · 227 阅读 · 0 评论 -
Dual Palindromes
题目描述:A number that reads the same from right to left as when read from left to right is called a palindrome. The number 12321 is a palindrome; the number 77778 is not. Of course, palindromes have ne...原创 2019-07-21 22:00:50 · 88 阅读 · 0 评论 -
Palindromic Squares
题目描述: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 the integers N (1 <...原创 2019-07-21 21:48:18 · 98 阅读 · 0 评论 -
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 this filing sys...原创 2019-07-20 23:08:56 · 90 阅读 · 0 评论 -
Transformations
题目描述:A square pattern of size N x N (1 <= N <= 10) black and white square tiles is transformed into another square pattern. Write a program that will recognize the minimum transformation that ...原创 2019-07-20 22:58:13 · 95 阅读 · 0 评论 -
Greedy Gift Givers
题目描述:A group of NP (2 ≤ NP ≤ 10) uniquely named friends has decided to exchange gifts of money. Each of these friends might or might not give some money to some or all of the other friends (although...原创 2019-07-17 23:34:57 · 207 阅读 · 0 评论 -
Friday the Thirteenth
题目描述:Is Friday the 13th really an unusual event?That is, does the 13th of the month land on a Friday less often than on any other day of the week? To answer this question, write a program that wil...原创 2019-07-17 19:04:54 · 148 阅读 · 0 评论 -
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 (measured in seconds after 5 am) and ends at time 1000. The...原创 2019-07-19 21:58:14 · 505 阅读 · 0 评论 -
Factorials
题目描述:The factorial of an integer N, written N!, is the product of all the integers from 1 through N inclusive. The factorial quickly becomes very large: 13! is too large to store in a 32-bit integer...原创 2019-08-17 23:46:55 · 116 阅读 · 0 评论