上一页 1 ··· 4 5 6 7 8 9 下一页
摘要: Morse Mismatches Samuel F. B. Morse is best known for the coding scheme that carries his name. Morse code is still used in internation... 阅读全文
posted @ 2014-11-29 18:44 Popco 阅读(311) 评论(0) 推荐(0) 编辑
摘要: Sample Input Sample Output 5.699141892149156e76 9.205357638345294e18 0e0 5 8 8 6 #include #define DET 1e-4using namespace std;do... 阅读全文
posted @ 2014-11-26 08:50 Popco 阅读(211) 评论(0) 推荐(0) 编辑
摘要: The Decoder Write a complete program that will correctly decode a set of characters into a valid message. Your program should read a gi... 阅读全文
posted @ 2014-11-24 16:31 Popco 阅读(124) 评论(0) 推荐(0) 编辑
摘要: The figure shown on the left is left-right symmetric as it is possible to fold the sheet of paper along a vertical line, drawn as a dashed line, an... 阅读全文
posted @ 2014-11-23 15:37 Popco 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(159) 评论(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 阅读(151) 评论(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 阅读(143) 评论(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 阅读(145) 评论(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 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 埃拉托斯特尼筛法,是一种公元前250年由古希腊数学家埃拉托斯特尼所提出的一种简单检定素数的算法。 给出要筛数值的范围n,找出以内的素数。先用2去筛,即把2留下,把2的倍数剔除掉;再用下一个质数,也就是3筛,把3留下,把3的倍数剔除掉;接下去用下一个质数5筛,把5留下,把5的倍数剔除掉;不断重复下... 阅读全文
posted @ 2014-11-19 00:19 Popco 阅读(358) 评论(0) 推荐(0) 编辑
摘要: 自己写的大整数模板,已经升级到V2.0 功能: 计算大整数加减乘数取模运算,支持无限位数,支持正负数输入输出及运算,支持判断两个大整数的大小 保障: 1.VC++2013,GCC4.7.3运行测试通过 2.学校OJ加减乘除取模均AC //BigInt V2.0//By KunSoft#inclu... 阅读全文
posted @ 2014-11-19 00:06 Popco 阅读(270) 评论(0) 推荐(0) 编辑
摘要: Flooded! To enable homebuyers to estimate the cost of flood insurance, a real-estate firm provides clients with the elevation of each 1... 阅读全文
posted @ 2014-11-11 23:39 Popco 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Description Alex is administrator of IP networks. His clients have a bunch of individual IP addresses and he decided to group all those IP addre... 阅读全文
posted @ 2014-11-07 21:04 Popco 阅读(205) 评论(0) 推荐(0) 编辑
摘要: Extraordinarily Tired Students Time Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu Submit Status Description Whe... 阅读全文
posted @ 2014-11-05 21:38 Popco 阅读(128) 评论(0) 推荐(0) 编辑
摘要: N! Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 56209 Accepted Submission(s): 15948 ... 阅读全文
posted @ 2014-11-02 10:11 Popco 阅读(151) 评论(0) 推荐(0) 编辑
摘要: Squares A children's board game consists of a square array of dots that contains lines connecting some of the pairs of adjacent dots.... 阅读全文
posted @ 2014-10-29 15:16 Popco 阅读(210) 评论(0) 推荐(0) 编辑
摘要: Ancient Roman empire had a strong government system with various departments, including a secret service department. Important documents were sent b... 阅读全文
posted @ 2014-10-20 17:01 Popco 阅读(192) 评论(0) 推荐(0) 编辑
摘要: Repeating Decimals The decimal expansion of the fraction 1/33 is , where the is used to indicate that the cycle 03 repeats indefinite... 阅读全文
posted @ 2014-10-19 15:24 Popco 阅读(114) 评论(0) 推荐(0) 编辑
摘要: The 3n + 1 problem Background Problems in Computer Science are often classified as belonging to a certain class of problems (e.g., NP, ... 阅读全文
posted @ 2014-10-18 07:50 Popco 阅读(144) 评论(0) 推荐(0) 编辑
摘要: All in All Input: standard input Output: standard output Time Limit: 2 seconds Memory Limit: 32 MB You have devised a new encryption technique which... 阅读全文
posted @ 2014-10-17 21:54 Popco 阅读(156) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 下一页