
2015暑期集训
文章平均质量分 70
只玩三国的程序猿
23333333333
展开
-
UVa 1583 Digit Generator
Description Download as PDF For a positive integer N , the digit-sum of N is defined as the sum of N itself and its digits. When M is the digitsum of N , we call N a generator of M . For example, th原创 2015-08-27 21:00:53 · 437 阅读 · 0 评论 -
UVa 232 Crossword Answers
A crossword puzzle consists of a rectangular grid of black and white squares and two lists of definitions (or descriptions). One list of definitions is for “words” to be written left to right across原创 2015-08-28 11:43:50 · 405 阅读 · 0 评论 -
UVa 401 Palindromes
Description A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string “ABCDEDCBA” is a palindrome because it is the same when the string is r原创 2015-08-27 20:40:44 · 873 阅读 · 0 评论 -
UVa 10082 WERTYU
A common typing error is to place the hands on the keyboard one row to the right of the correct position. So ‘Q’ is typed as ‘W’ and ‘J’ is typed as ‘K’ and so on. You are to decode a message typed原创 2015-08-27 20:37:06 · 830 阅读 · 0 评论 -
UVA 272 TEX Quotes
DescriptionTeX is a typesetting language developed by Donald Knuth. It takes source text together with a few typesetting instructions and produces, one hopes, a beautiful document. Beautiful docum原创 2015-08-27 20:24:32 · 514 阅读 · 0 评论 -
UVa 1585 Score
Description Download as PDF There is an objective test result such as OOXXOXXOOO". An `O' means a correct answer of a problem and an `X' means a wrong answer. The score of each problem of this test i原创 2015-08-27 21:04:23 · 636 阅读 · 0 评论 -
UVa 1584 Circular Sequence
Description Download as PDF Some DNA sequences exist in circular forms as in the following figure, which shows a circular sequence CGAGTCAGCT", that is, the last symbolT” in CGAGTCAGCT" is connected原创 2015-08-27 21:02:39 · 853 阅读 · 0 评论 -
UVa 1225 Digit Counting
Description Download as PDF Trung is bored with his mathematics homeworks. He takes a piece of chalk and starts writing a sequence of consecutive integers starting with 1 to N(1 < N < 10000) . After原创 2015-08-27 21:10:17 · 447 阅读 · 0 评论 -
UVa 1586 Molar mass
Description Download as PDF An organic compound is any member of a large class of chemical compounds whose molecules contain carbon. The molar mass of an organic compound is the mass of one mole of t原创 2015-08-27 21:06:34 · 552 阅读 · 0 评论 -
UVa 340 Master-Mind Hints
Description MasterMind is a game for two players. One of them, Designer, selects a secret code. The other, Breaker, tries to break it. A code is no more than a row of colored dots. At the beginning of原创 2015-08-27 20:54:53 · 451 阅读 · 0 评论 -
UVa 227 Puzzle
A children’s puzzle that was popular 30 years ago consisted of a 5×5 frame which contained 24 small squares of equal size. A unique letter of the alphabet was printed on each small square. Since there原创 2015-08-27 21:21:32 · 385 阅读 · 0 评论 -
UVa 455 Periodic Strings
Description Download as PDF Periodic Strings A character string is said to have period k if it can be formed by concatenating one or more repetitions of another string of length k. For example, th原创 2015-08-27 21:20:05 · 807 阅读 · 0 评论 -
HDU 3572 Task Schedule
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3572题意:给你m个机器和n个任务,每个任务有处理该任务需要的时间,最早的开始时间和最迟的结束时间。我觉得这个题目还是值得思考的,首先,有一个关系,就是每个机器在每一天只能处理一个任务,这个条件其实很关键,这样就可以把机器和天数建立边,容量为1来限制,这样是不是瞬间就眼熟了?(其实我也是参考的别人的思路)原创 2015-09-08 22:15:28 · 382 阅读 · 0 评论