枚举
技术--小白
这个作者很懒,什么都没留下…
展开
-
USACO Section1.2 Dual Palindromes
Dual Palindromes Mario 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 · 209 阅读 · 0 评论 -
USACO Section1.4 The Clocks
The Clocks IOI'94 - Day 2 Consider nine clocks arranged in a 3x3 array thusly: |-------| |-------| |-------| | | | | | | | |---O | |---O | | O |原创 2014-01-09 15:27:20 · 204 阅读 · 0 评论 -
USACO Section1.3 Prime Cryptarithm
Prime Cryptarithm The 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 · 188 阅读 · 0 评论 -
USACO Section1.4 Arithmetic Progressions
Arithmetic Progressions An 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 · 181 阅读 · 0 评论 -
USACO Section1.4 Packing Rectangles
Packing Rectangles IOI 95 The six basic layouts of four rectangles Four rectangles are given. Find the smallest enclosing (new)rectangle into which these four may be fitted without overlapping.原创 2014-01-06 17:26:00 · 218 阅读 · 0 评论 -
USACO Section2.1 Hamming Codes
Hamming Codes Rob Kolstad Given 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 · 196 阅读 · 0 评论 -
USACO Section2.2 Preface Numbering
Preface Numbering A 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 · 212 阅读 · 0 评论 -
USACO Section 2.2 Runaround Numbers
Runaround Numbers Runaround 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 · 208 阅读 · 0 评论