枚举
技术--小白
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
USACO Section1.2 Dual Palindromes
Dual PalindromesMario Cruz (Colombia) & Hugo Rickeboer (Argentina)A number that reads the same from right to left as when read fromleft to right is called a palindrome. The number 12321 is a pal原创 2014-01-04 12:48:47 · 247 阅读 · 0 评论 -
USACO Section1.4 The Clocks
The ClocksIOI'94 - Day 2Consider nine clocks arranged in a 3x3 array thusly:|-------| |-------| |-------| | | | | | | | |---O | |---O | | O |原创 2014-01-09 15:27:20 · 243 阅读 · 0 评论 -
USACO Section1.3 Prime Cryptarithm
Prime CryptarithmThe following cryptarithm is a multiplication problem that can besolved by substituting digits from a specified set of N digits into thepositions marked with *. If the set of pr原创 2014-01-06 11:22:45 · 218 阅读 · 0 评论 -
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 anon-negative integer and b is a positive integer.原创 2014-01-09 17:29:19 · 210 阅读 · 0 评论 -
USACO Section1.4 Packing Rectangles
Packing RectanglesIOI 95The six basic layouts of four rectanglesFour rectangles are given. Find the smallest enclosing (new)rectangle into which these four may be fitted without overlapping.原创 2014-01-06 17:26:00 · 254 阅读 · 0 评论 -
USACO Section2.1 Hamming Codes
Hamming CodesRob KolstadGiven N, B, and D: Find a set of N codewords (1 <= N <= 64),each of length B bits (1 <= B <= 8), such that each of the codewordsis at least Hamming distance of D (1 <= D原创 2014-01-14 16:13:22 · 227 阅读 · 0 评论 -
USACO Section2.2 Preface Numbering
Preface NumberingA certain book's prefaces are numbered in upper case Roman numerals. Traditional Roman numeral values use a single letter to represent a certain subset of decimal numbers. Here原创 2014-01-16 10:05:11 · 248 阅读 · 0 评论 -
USACO Section 2.2 Runaround Numbers
Runaround NumbersRunaround numbers are integers with unique digits, none of which is zero (e.g., 81362) that also have an interesting property, exemplified by this demonstration:If you start原创 2014-01-16 17:38:36 · 241 阅读 · 0 评论
分享