- 博客(10)
- 资源 (2)
- 收藏
- 关注
原创 USACO----Barn Repair
It was a dark and stormy night that ripped the roof and gates off the stalls that hold Farmer John's cows. Happily, many of the cows were on vacation, so the barn was not completely full.The cows spen...
2018-03-19 17:33:14 276
原创 USACO----Mixing Milk
The Merry Milk Makers company buys milk from farmers, packages it into attractive 1- and 2-Unit bottles, and then sells that milk to grocery stores so we can each start our day with delicious cereal a...
2018-03-19 16:48:53 270
原创 USACO----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 <= N <=...
2018-03-19 16:46:41 244
原创 USACO----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 system, th...
2018-03-19 16:45:06 240
原创 USACO----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 has bee...
2018-03-19 16:43:24 220
原创 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 (measured in seconds after 5 am) and ends at time 1000. The second...
2018-03-19 16:41:38 641
原创 USACO----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 will compute...
2018-03-19 16:39:42 228
原创 USACO----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 some m...
2018-03-19 16:38:12 331
原创 USACO----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 follower...
2018-03-19 16:31:49 185
原创 查看支持球队一周比赛安排的python脚本
# -*- coding: utf-8 -*-import urllib.requestimport randomimport reimport datetimefrom bs4 import BeautifulSoupurl = "http://www.dongqiudi.com/match/fetch_new?tab=null&date=%s&scroll_t...
2018-03-13 14:31:49 221
检查公网IP并发送邮件
2014-05-19
励志桌面小工具
2013-05-17
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人