摘要: 题目信息Problem C: WERTYUA 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 in this manner.Input consists of several 阅读全文
posted @ 2012-02-14 17:46 AndyDHG 阅读(270) 评论(0) 推荐(0) 编辑
摘要: Where's Waldorf? Given a m by n grid of letters, (), and a list of words, find the location in the grid at which the word can be found. A word matches a straight, uninterrupted line of letters in the grid. A word can match the letters in the grid regardless of case (i.e. upper and lower case let 阅读全文
posted @ 2012-02-14 07:45 AndyDHG 阅读(308) 评论(0) 推荐(0) 编辑