摘要: Problem E Foreign Exchange Input: standard input Output: standard output Time Limit: 1 second Your non-profit organization (iCORE - international ... 阅读全文
posted @ 2014-11-22 20:43 Popco 阅读(162) 评论(0) 推荐(0) 编辑
摘要: Problem E: Compound Words You are to find all the two-word compound words in a dictionary. A two-word compound word is a word in the dictionary th... 阅读全文
posted @ 2014-11-22 20:33 Popco 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Problem B: Throwing cards away I Given is an ordered deck of n cards numbered 1 to n with card 1 at the top and card n at the bottom. The followin... 阅读全文
posted @ 2014-11-22 19:20 Popco 阅读(144) 评论(0) 推荐(0) 编辑
摘要: A Ducci sequence is a sequence of n-tuples of integers. Given an n-tuple of integers (a1, a2, ... , an), the next n-tuple in the sequence is forme... 阅读全文
posted @ 2014-11-22 18:45 Popco 阅读(148) 评论(0) 推荐(0) 编辑
摘要: You are working in a team that writes Incredibly Customizable Programming Codewriter (ICPC) which is basically a text editor with bells and whistle... 阅读全文
posted @ 2014-11-22 18:27 Popco 阅读(156) 评论(0) 推荐(0) 编辑