摘要:
JosephTime Limit:1000MSMemory Limit:10000KTotal Submissions:42451Accepted:15971DescriptionThe Joseph's problem is notoriously known. For those who are not familiar with the original problem: from among n people, numbered 1, 2, . . ., n, standing in circle every mth is going to be executed and on 阅读全文
摘要:
SticksTime Limit:1000MSMemory Limit:10000KTotal Submissions:103596Accepted:23602DescriptionGeorge took sticks of the same length and cut them randomly until all parts became at most 50 units long. Now he wants to return sticks to the original state, but he forgot how many sticks he had originally an 阅读全文