随笔分类 -  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 阅读全文
posted @ 2014-01-19 10:21 玩物尚智 阅读(2145) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2014-01-19 10:13 玩物尚智 阅读(4694) 评论(4) 推荐(0)
摘要: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 阅读全文
posted @ 2014-01-19 10:09 玩物尚智 阅读(1114) 评论(1) 推荐(1)
摘要: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 阅读全文
posted @ 2014-01-18 13:32 玩物尚智 阅读(1817) 评论(13) 推荐(1)
摘要: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 阅读全文
posted @ 2014-01-18 13:29 玩物尚智 阅读(3682) 评论(2) 推荐(1)
摘要: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 阅读全文
posted @ 2014-01-18 13:26 玩物尚智 阅读(4867) 评论(0) 推荐(1)
摘要: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 阅读全文
posted @ 2014-01-18 13:22 玩物尚智 阅读(1521) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2014-01-18 13:08 玩物尚智 阅读(2552) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2014-01-18 12:46 玩物尚智 阅读(1119) 评论(0) 推荐(0)