- 博客(12)
- 收藏
- 关注
原创 PKU_1008_Maya Calendar
Maya CalendarDescriptionDuring 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 May
2013-03-28 00:41:13
548
原创 PKU_1007_DNA Sorting
DNA SortingDescriptionOne measure of ``unsortedness'' in a sequence is the number of pairs of entries that are out of order with respect to each other. For instance, in the letter sequence `
2013-03-28 00:34:56
582
原创 PKU_1006_Biorhythms
BiorhythmsDescriptionSome people believe that there are three cycles in a person's life that start the day he or she is born. These three cycles are the physical, emotional, and intellectual
2013-03-28 00:27:01
535
原创 PKU_1005_I Think I Need a Houseboat
I Think I Need a HouseboatDescriptionFred Mapper is considering purchasing some land in Louisiana to build his house on. In the process of investigating the land, he learned that the state o
2013-03-28 00:18:26
457
原创 PKU_1004_Financial Management
Financial ManagementDescriptionLarry graduated this year and finally has a job. He's making a lot of money, but somehow never seems to have enough. Larry has decided that he needs to grab
2013-03-28 00:12:48
471
原创 PKU_1003_Hangover
HangoverDescriptionHow far can you make a stack of cards overhang a table? If you have one card, you can create a maximum overhang of half a card length. (We're assuming that the cards mus
2013-03-24 21:16:04
371
原创 PKU_1002_487-3279
487-3279DescriptionBusinesses like to have memorable telephone numbers. One way to make a telephone number memorable is to have it spell a memorable word or phrase. For example, you can call
2013-03-24 20:04:32
503
原创 PKU_1001_Exponentiation
ExponentiationDescriptionProblems involving the computation of exact values of very large magnitude and precision are common. For example, the computation of the national debt is a taxing ex
2013-03-22 22:39:35
559
原创 Acm Step Chapter One Section Two—Rightmost Digit
Problem Description Given a positive integer N, you should output the most right digit of N^N.Input The input contains several test cases. The first line of the input is a s
2012-12-23 22:16:41
345
原创 AcmStep Chapter One Section Two—Nasty Hacks
Problem Description You are the CEO of Nasty Hacks Inc., a company that creates small pieces of malicious software which teenager
2011-08-17 15:07:55
453
原创 AcmStep Chapter One Section Two—Climbing Worm
Climbing WormProblem Description An inch worm is at the bottom of a well n inches deep. It has enough energy to climb u inc
2011-08-16 23:15:07
456
原创 AcmStep Chapter One Section One—A+B problem series
A+B for Input-Output Practice (I)Your task is to Calculate a + b.Too easy?! Of course! I specially designed the problem for acm beginner
2011-08-16 22:48:19
1739
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人