-----string
文章平均质量分 81
hexiecs
Follow my heart.
展开
-
uva Automatic Editing
题目如下: Automatic Editing Source file: autoedit.{c, cpp, java, pas} Input file: autoedit.in Output file: autoedit.out Text-processing tools like awk and sed allow you to automatically perform原创 2014-03-23 12:35:46 · 552 阅读 · 0 评论 -
Immediate Decodability
题目如下: An encoding of a set of symbols is said to be immediately decodable if no code for one symbol is the prefix of a code for another symbol. We will assume for this problem that all codes are i原创 2014-03-22 19:29:15 · 558 阅读 · 0 评论 -
uva Andy's First Dictionary
题目如下: Andy's First Dictionary Time limit: 3 seconds Andy, 8, has a dream - he wants to produce his very own dictionary. This is not an easy task for him, as the number of words that he know原创 2014-03-22 15:23:15 · 532 阅读 · 0 评论 -
uva Excuses, Excuses!
题目如下: Judge Ito is having a problem with people subpoenaed for jury duty giving rather lame excuses in order to avoid serving. In order to reduce the amount of time required listening to goofy excuse原创 2014-03-16 15:48:13 · 652 阅读 · 0 评论 -
uva Artificial Intelligence?
题目如下: Physics teachers in high school often think that problems given as text are more demanding than pure computations. After all, the pupils have to read and understand the problem first! So the原创 2014-03-15 21:50:03 · 740 阅读 · 0 评论 -
Automatic Poetry
题目如下: “Oh God”, Lara Croft exclaims, “it’s one of these dumb riddles again!” In Tomb Raider XIV, Lara is, as ever, gunning her way through ancient Egyptian pyramids, prehistoric caves and medival原创 2014-03-09 21:56:04 · 626 阅读 · 0 评论 -
uva Where's Waldorf?
题目如下: Where's Waldorf? Given a m by n grid of letters, ( 1 =< m,n <= 50), and a list of words, find the location in the grid at which the word can be found. A word matches a straight, uninterrupted原创 2014-03-09 00:33:00 · 1031 阅读 · 0 评论 -
UVA Palindromes
一道有关字符串反转的题目 题目如下: 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 st原创 2014-03-02 21:57:26 · 646 阅读 · 0 评论