摘要: VirusWe have a log file, which is a sequence of recorded events. Naturally, the timestamps are strictly increasing.However, it is infected by a virus... 阅读全文
posted @ 2014-04-07 22:13 beautifulzzzz 阅读(752) 评论(0) 推荐(0) 编辑
摘要: Updating a DictionaryIn this problem, a dictionary is collection of key-value pairs, where keys are lower-case letters, and values are non-negative i... 阅读全文
posted @ 2014-04-07 21:47 beautifulzzzz 阅读(554) 评论(0) 推荐(0) 编辑
摘要: Robot InstructionsYou have a robot standing on the origin of x axis. The robot will be given some instructions. Your task is to predict its position ... 阅读全文
posted @ 2014-04-07 21:41 beautifulzzzz 阅读(1088) 评论(0) 推荐(0) 编辑
摘要: Three FamiliesThree families share a garden. They usually clean the garden together at the end of each week, but last week, family C was on holiday, ... 阅读全文
posted @ 2014-04-07 21:35 beautifulzzzz 阅读(700) 评论(0) 推荐(0) 编辑