随笔分类 - POJ
我在http://poj.org上做的题目的解题报告。
摘要:Maya CalendarTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 62297Accepted: 19221DescriptionDuring 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 lon
阅读全文
摘要:DNA SortingTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 77786Accepted: 31201DescriptionOne 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 ``DAABEC'', this m
阅读全文
摘要:BiorhythmsTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 107569Accepted: 33365DescriptionSome 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 cycles, and they have perio
阅读全文
摘要:I Think I Need a HouseboatTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 81874Accepted: 35368DescriptionFred 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 of Louisiana is actually shrinking
阅读全文
摘要:Financial ManagementTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 116320Accepted: 53669DescriptionLarry 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 hold of his financial portfoli
阅读全文
摘要:HangoverTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 95164Accepted: 46128DescriptionHow 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 must be perpendicular to the table
阅读全文
摘要:487-3279Time Limit: 2000MSMemory Limit: 65536KTotal Submissions: 228365Accepted: 39826DescriptionBusinesses 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 the University of Waterloo by d
阅读全文
摘要:ExponentiationTime Limit: 500MSMemory Limit: 10000KTotal Submissions: 126980Accepted: 30980DescriptionProblems 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 experience for many computer system
阅读全文
摘要:A+B ProblemTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 311263Accepted: 171333DescriptionCalculate a+bInputTwo integer a,b (0 9 using namespace std;10 11 int main()12 {13 int a,b;14 scanf("%d%d", &a, &b);15 printf("%d\n", a + b);16 return 0;17 }JAVA: 1 import
阅读全文

浙公网安备 33010602011771号