摘要: Humble NumbersTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 14343Accepted Submission(s): 6229Problem DescriptionA number whose only prime factors are 2,3,5 or 7 is called a humble number. The sequence 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16 阅读全文
posted @ 2014-01-06 19:47 龚细军 阅读(294) 评论(0) 推荐(0)
摘要: Wooden SticksTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 9937Accepted Submission(s): 4081Problem DescriptionThere is a pile of n wooden sticks. The length and weight of each stick are known in advance. The sticks are to be processed by a woodwo 阅读全文
posted @ 2014-01-06 16:46 龚细军 阅读(292) 评论(0) 推荐(0)
摘要: RPG的错排Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6173Accepted Submission(s): 2508Problem Description今年暑假杭电ACM集训队第一次组成女生队,其中有一队叫RPG,但做为集训队成员之一的野骆驼竟然不知道RPG三个人具体是谁谁。RPG给他机会让他猜猜,第一次猜:R是公主,P是草儿,G是月野兔;第二次猜:R是草儿,P是月野兔,G是公主;第三次猜:R是草儿,P是公主,G是月野兔;...... 阅读全文
posted @ 2014-01-06 11:50 龚细军 阅读(518) 评论(0) 推荐(0)
摘要: Last non-zero Digit in N!Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5596Accepted Submission(s): 1382Problem DescriptionThe expression N!, read as "N factorial," denotes the product of the first N positive integers, where N is nonnega 阅读全文
posted @ 2014-01-06 10:06 龚细军 阅读(342) 评论(0) 推荐(0)