模拟与搜索
模拟与搜索
SoYouTry
这个作者很懒,什么都没留下…
展开
-
USACO-Section 3.2-PROB Magic Squares
Magic Squares IOI'96 Following the success of the magic cube, Mr. Rubik invented its planar version, called magic squares. This is a sheet composed of 8 equal-sized squares: 1 2 3 4原创 2016-01-27 14:28:51 · 393 阅读 · 0 评论 -
USACO-Section 3.2-PROB Spinning Wheels
Spinning Wheels 1998 ACM NE Regionals Each of five opaque spinning wheels has one or more wedges cut out of its edges. These wedges must be aligned quickly and correctly. Each wheel also has an al原创 2016-01-27 14:19:54 · 358 阅读 · 0 评论 -
USACO-Section 3.1-PROB Humble Numbers
Humble Numbers For a given set of K prime numbers S = {p1, p2, ..., pK}, consider the set of all numbers whose prime factors are a subset of S. This set contains, for example, p1, p1p2, p1p1, and原创 2016-01-24 15:09:28 · 380 阅读 · 0 评论 -
USACO-Section 3.3-PROB Shopping Offers
Shopping Offers IOI'95 In a certain shop, each kind of product has an integer price. For example, the price of a flower is 2 zorkmids (z) and the price of a vase is 5z. In order to attract more cu原创 2016-01-27 14:34:40 · 418 阅读 · 0 评论