摘要:
DescriptionYou all are familiar with the famous 8-queens problem which asks you to place 8 queens on a chess board so no two attack each other. In thi... 阅读全文
摘要:
DescriptionThe rabbits have powerful reproduction ability. One pair of adult rabbits can give birth to one pair of kid rabbits every month. And after ... 阅读全文
摘要:
ConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionA number of students sit in a circle facing their teacher in the center. Each student ini... 阅读全文
摘要:
Time Limit: 1sec Memory Limit:32MBDescriptionCylinders (e.g. oil drums) (of radius 1 foot) are stacked in a rectangular bin. Each cylinder on an uppe... 阅读全文
摘要:
DescriptionGiven a triangle ABC, the Extriangles of ABC are constructed as follows:On each side of ABC, construct a square (ABDE, BCHJ and ACFG in the... 阅读全文
摘要:
ConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionLindsay is a shopaholic. Whenever there is a discount of the kind where you can buy three... 阅读全文
摘要:
DescriptionHanoi Tower is a famous game invented by the French mathematician Edourard Lucas in 1883. We are given a tower of n disks, initially stacke... 阅读全文
摘要:
Time Limit: 1sec Memory Limit:32MBDescriptionSeveral surveys indicate that the taller you are, the higher you can climb the corporate ladder. At TALL... 阅读全文