Liers 树状数组+中国剩余定理
摘要:LiersTime Limit:14000/7000MS (Java/Others)Memory Limit:128000/64000KB (Java/Others)SubmitStatusProblem Description有N个人,其中有若干个人一起参加了舞会,现在想知道哪些人有可能参加了舞会...
阅读全文
posted @
2014-07-18 15:54
ERKE
阅读(183)
推荐(0)
poj2891非互质同余方程
摘要:Strange Way to Express IntegersTime Limit: 1000MSMemory Limit: 131072KTotal Submissions: 8176Accepted: 2439DescriptionElina is reading a book written by Rujia Liu, which introduces a strange way to express non-negative integers. The way is described as following:Choose k different positive integers
阅读全文
posted @
2013-08-14 13:59
ERKE
阅读(264)
推荐(0)
poj1006中国剩余定理
摘要:BiorhythmsTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 103506Accepted: 31995DescriptionSome 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 @
2013-08-14 13:55
ERKE
阅读(175)
推荐(0)