
----- POJ-ACM
谙忆
公众号:程序编程之旅。曾经写过C、C++,使用过Cocos2dx开发过游戏、安卓端、IOS端、PC端页面均开发过。目前专注Java开发,SaaS内核、元数据的研究。偶尔玩玩爬虫
-
原创 POJ 2027 No Brainer
Problem Description Zombies love to eat brains. Yum.Input The first line contains a single integer n indicating the number of data sets. The following n lines each represent a data set. Each data set2015-10-26 19:07:10813
0
-
原创 POJ 2262 Goldbach's Conjecture
Problem Description In 1742, Christian Goldbach, a German amateur mathematician, sent a letter to Leonhard Euler in which he made the following conjecture: Every even number greater than 4 can be2015-10-23 15:31:21676
0
-
原创 POJ 2390 Bank Interest
Problem Description Farmer John made a profit last year! He would like to invest it well but wonders how much money he will make. He knows the interest rate R (an integer between 0 and 20) that is com2015-10-23 18:20:54845
0
-
原创 POJ 1936 All in All
DescriptionYou have devised a new encryption technique which encodes a message by inserting between its characters randomly generated strings in a clever way. Because of pending patent issues we will n2015-10-23 18:42:36716
0
-
原创 POJ 1503 Integer Inquiry 简单大数相加
DescriptionOne of the first users of BIT’s new supercomputer was Chip Diller. He extended his exploration of powers of 3 to go from 0 to 333 and he explored taking various sums of those numbers. This2015-10-24 13:59:53730
0
-
原创 POJ 2487 Stamps
DescriptionBackground Everybody hates Raymond. He’s the largest stamp collector on planet earth and because of that he always makes fun of all the others at the stamp collector parties. Fortunately e2015-10-26 19:41:31602
0
-
原创 POJ 2533 Longest Ordered Subsequence
DescriptionA numeric sequence of ai is ordered if a1 < a2 < … < aN. Let the subsequence of the given numeric sequence (a1, a2, …, aN) be any sequence (ai1, ai2, …, aiK), where 1 <= i1 < i2 < … < iK <=2015-10-26 21:13:36762
0
-
原创 POJ 1159 Palindrome 最长公共子序列的问题
Description A palindrome is a symmetrical string, that is, a string read identically from left to right as well as from right to left. You are to write a program which, given a string, determines the2015-10-29 14:03:48789
0
-
原创 POJ 2260(ZOJ 1949) Error Correction 一个水题
DescriptionA boolean matrix has the parity property when each row and each column has an even sum, i.e. contains an even number of bits which are set. Here’s a 4 x 4 matrix which has the parity propert2015-10-30 20:37:481150
0
-
原创 POJ 1844 Sum
DescriptionConsider the natural numbers from 1 to N. By associating to each number a sign (+ or -) and calculating the value of this expression we obtain a sum S. The problem is to determine for a give2015-11-07 14:00:04615
0
-
原创 POJ 1775 (ZOJ 2358) Sum of Factorials
DescriptionJohn von Neumann, b. Dec. 28, 1903, d. Feb. 8, 1957, was a Hungarian-American mathematician who made important contributions to the foundations of mathematics, logic, quantum physics,meteoro2015-11-08 11:02:12880
0
-
原创 POJ 1423 Big Number
DescriptionIn many applications very large integers numbers are required. Some of these applications are using keys for secure transmission of data, encryption, etc. In this problem you are given a num2015-11-10 21:06:261262
0
-
原创 POJ 2840 Big Clock
DescriptionOur vicar raised money to have the church clock repaired for several weeks. The big clock, which used to strike the hours days and nights, was damaged several weeks ago and had been silent s2015-11-17 11:04:55698
0
-
原创 POJ 1306 Combinations
DescriptionComputing the exact number of ways that N things can be taken M at a time can be a great challenge when N and/or M become very large. Challenges are the stuff of contests. Therefore, you are2015-10-26 18:24:47764
0
-
原创 POJ 2105 IP Address
Problem Description Suppose you are reading byte streams from any device, representing IP addresses. Your task is to convert a 32 characters long sequence of ‘1s’ and ‘0s’ (bits) to a dotted decimal f2015-10-26 19:09:37651
0
-
原创 HDOJ 1032(POJ 1207) The 3n + 1 problem
DescriptionProblems in Computer Science are often classified as belonging to a certain class of problems (e.g., NP, Unsolvable, Recursive). In this problem you will be analyzing a property of an algori2015-10-26 19:01:33668
0
-
原创 HDOJ 1312 (POJ 1979) Red and Black
Problem Description There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a tile, he can move to one of four adjacen2015-10-26 18:51:33643
0
-
原创 POJ 1163 The Triangle
The TriangleTime Limit : 2000/1000ms (Java/Other) Memory Limit : 20000/10000K (Java/Other) Total Submission(s) : 23 Accepted Submission(s) : 18 Problem Description 7 3 8 8 1 0 2 7 42015-10-22 14:16:42638
0