随笔分类 - POJ
poj上刷的题目
摘要:Numbers That CountTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 17143Accepted: 5637Description"Kronecker's Knumbers" is a little company that manufactures plastic digits for use in signs (theater marquees, gas station price displays, and so on). The owner and sole employee,
阅读全文
摘要:DividingTime Limit:1000MSMemory Limit:10000KTotal Submissions:48515Accepted:12207DescriptionMarsha 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 be easy if all the marbles had the same value, be
阅读全文
摘要:Counterfeit DollarTime Limit:1000MSMemory Limit:10000KTotal Submissions:34516Accepted:10965DescriptionSally Jones has a dozen Voyageur silver dollars. However, only eleven of the coins are true silver dollars; one coin is counterfeit even though its color and size make it indistinguishable from the
阅读全文
摘要:JosephTime Limit:1000MSMemory Limit:10000KTotal Submissions:42451Accepted:15971DescriptionThe Joseph's problem is notoriously known. For those who are not familiar with the original problem: from among n people, numbered 1, 2, . . ., n, standing in circle every mth is going to be executed and on
阅读全文
摘要:SticksTime Limit:1000MSMemory Limit:10000KTotal Submissions:103596Accepted:23602DescriptionGeorge took sticks of the same length and cut them randomly until all parts became at most 50 units long. Now he wants to return sticks to the original state, but he forgot how many sticks he had originally an
阅读全文
摘要:STAMPSTime Limit:1000MSMemory Limit:10000KTotal Submissions:13528Accepted:3749DescriptionHave you done any Philately lately?You have been hired by the Ruritanian Postal Service (RPS) to design their new postage software. The software allocates stamps to customers based on customer needs and the deno
阅读全文
摘要:Edge DetectionTime Limit:1000MSMemory Limit:10000KTotal Submissions:14193Accepted:3177DescriptionIONU Satellite Imaging, Inc. records and stores very large images using run length encoding. You are to write a program that reads a compressed image, finds the edges in the image, as described below, an
阅读全文
摘要:Maya CalendarTime Limit:1000MSMemory Limit:10000KTotal Submissions:55788Accepted:17223DescriptionDuring his last sabbatical, professor M. A. Ya made a surprising discovery about the old Maya calendar. From an old knotted message, professor discovered that the Maya civilization used a 365 day long ye
阅读全文
摘要:JugsTime Limit:2 Seconds Memory Limit:65536 KB Special JudgeIn the movie "Die Hard 3", Bruce Willis and Samuel L. Jackson were confronted with the following puzzle. They were given a 3-gallon jug and a 5-gallon jug and were asked to fill the 5-gallon jug with exactly 4 gallons. This proble
阅读全文
摘要:Anagrams by StackTime Limit:2 Seconds Memory Limit:65536 KBHow can anagrams result from sequences of stack operations? There are two sequences of stack operators which can convert TROT to TORT:[i i i i o o o oi o i i o o i o]whereistands for Push andostands for Pop. Your program should, given pairs
阅读全文
摘要:Crashing BalloonTime Limit:2 Seconds Memory Limit:65536 KBOn every June 1st, the Children's Day, there will be a game named "crashing balloon" on TV. The rule is very simple. On the ground there are 100 labeled balloons, with the numbers 1 to 100. After the referee shouts "Let'
阅读全文

浙公网安备 33010602011771号