- 博客(21)
- 收藏
- 关注
原创 My Love-letter To Cai III
<br />/************************* My Love-letter To Cai III *************************//* -- 简简单单一句爱 */ #include<stdio.h>/*Thanks for Star-baidu give me the chance show my love to my sweet-Cai
2011-05-24 13:34:00
347
原创 POJ 1651 Multiplication Puzzle
Multiplication PuzzleTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 3513 Accepted: 2064DescriptionThe multiplication puzzle is played with a row of cards, each containing a single positive integer. During the move player takes one card out of th
2010-08-26 09:01:00
704
原创 POJ 1308 Is It A Tree?
Is It A Tree?Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 9166 Accepted: 3128<br />DescriptionA tree is a well-known data structure that is either empty (null, void, nothing) or is a set of one or more nodes connected by directed edges between
2010-08-12 01:48:00
402
原创 POJ 1323 Game Prediction
Game PredictionTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 6117 Accepted: 3026DescriptionSuppose there are M people, including you, playing a special card game. At the beginning, each player receives N cards. The pip of a card is a positive i
2010-08-11 17:22:00
391
原创 POJ 1326 Mileage Bank
Mileage BankTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 10090 Accepted: 4187<br />DescriptionMileage program of ACM (Airline of Charming Merlion) is really nice for the travelers flying frequently. Once you complete a flight with ACM, you can
2010-08-11 13:55:00
510
原创 POJ 1338 Ugly Numbers
Ugly NumbersTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 12232 Accepted: 5368<br />DescriptionUgly numbers are numbers whose only prime factors are 2, 3 or 5. The sequence <br />1, 2, 3, 4, 5, 6, 8, 9, 10, 12, ... <br />shows the first 10 ugly
2010-08-11 10:35:00
314
原创 POJ 1269 Intersecting Lines
Intersecting LinesTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 3957 Accepted: 1904<br />DescriptionWe all know that a pair of distinct points on a plane defines a line and that a pair of lines on a plane will intersect in one of three ways: 1)
2010-08-11 09:20:00
438
原创 POJ 1230 Pass-Muraille
Pass-MurailleTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 7301 Accepted: 2317DescriptionIn modern day magic shows, passing through walls is very popular in which a magician performer passes through several walls in a predesigned stage show. Th
2010-08-11 08:52:00
680
原创 POJ 1166 The Clocks
The ClocksTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 9161 Accepted: 3564<br />Description|-------| |-------| |-------|<br />| | | | | | |<br />|---O | |---O | | O |<br />| | | |
2010-08-03 18:06:00
447
原创 POJ 1183 反正切函数的应用
反正切函数的应用Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 9926 Accepted: 3654<br />Description反正切函数可展开成无穷级数,有如下公式 <br /><br />(其中0 <= x <= 1) 公式(1) <br /><br />使用反正切函数计算PI是一种常用的方法。例如,最简单的计算PI的方法: <br /><br />PI=4arctan(1)=4(1-1/3+1/5-1/7+1/9-1/11+.
2010-08-02 15:55:00
868
原创 POJ 1113 Wall
WallTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 14159 Accepted: 4503<br />DescriptionOnce upon a time there was a greedy King who ordered his chief Architect to build a wall around the King's castle. The King was so greedy, that he would not
2010-08-02 15:29:00
434
原创 POJ 1032 Parliament
ParliamentTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 11284 Accepted: 4694<br />DescriptionNew convocation of The Fool Land's Parliament consists of N delegates. According to the present regulation delegates should be divided into disjoint g
2010-07-26 14:25:00
411
原创 POJ 1045 Bode Plot
Bode PlotTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 7290 Accepted: 4865DescriptionConsider the AC circuit below. We will assume that the circuit is in steady-state. Thus, the voltage at nodes 1 and 2 are given by v1 = VS coswt and v2 = VRcos
2010-07-26 11:37:00
818
原创 POJ 1080 Human Gene Functions
Language:DefaultHuman Gene FunctionsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 9456 Accepted: 5209DescriptionIt is well known that a human gene can be considered as a sequence, consisting of four nucleotides, which are simply denoted by four
2010-07-26 11:15:00
394
原创 POJ 1019 Number Sequence
Number SequenceTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 20096 Accepted: 5271<br />DescriptionA single positive integer i is given. Write a program to find the digit located in the position i in the sequence of number groups S1S2...Sk. Eac
2010-07-26 09:11:00
373
原创 POJ 1068 Parencodings
ParencodingsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 9734 Accepted: 5724<br />DescriptionLet S = s1 s2...s2n be a well-formed string of parentheses. S can be encoded in two different ways: <br />q By an integer sequence P = p1 p2...pn wher
2010-07-25 18:20:00
275
原创 POJ 1014 Dividing
DividingTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 31285 Accepted: 7642DescriptionMarsha and Bill own a collection of marbles. They want to split the collection among themselves so that both receive an equal share of the marbles. This would
2010-07-25 16:48:00
317
原创 POJ 1013 Counterfeit Dollar
Counterfeit DollarTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 25617 Accepted: 7988DescriptionSally Jones has a dozen Voyageur silver dollars. However, only eleven of the coins are true silver dollars; one coin is counterfeit even though its c
2010-07-24 21:09:00
249
原创 POJ 1017 Packets
PacketsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 25702 Accepted: 8427DescriptionA factory produces products packed in square packets of the same height h and of the sizes 1*1, 2*2, 3*3, 4*4, 5*5, 6*6. These products are always delivered to
2010-07-24 17:17:00
427
原创 POJ 1781 In Danger
In DangerTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 2462 Accepted: 1294DescriptionFlavius Josephus and 40 fellow rebels were trapped by the Romans. His companions preferred suicide to surrender, so they decided to form a circle and to kill
2010-06-18 21:49:00
821
原创 POJ 1740 A New Stone Game
A New Stone GameTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 2805 Accepted: 1418DescriptionAlice and Bob decide to play a new stone game.At the beginning of the game they pick n(1At each step of the game,the player choose a pile,remove at leas
2010-06-18 18:31:00
435
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人