随笔分类 - otherQuestion
摘要:1354 - IP Checking PDF (English) Statistics ForumTime Limit: 2 second(s) Memory Limit: 32 MBAn IP address is a 32 bit address formatted in the followi
阅读全文
摘要:Description 有 N 堆纸牌,编号分别为 1,2,…, N。每堆上有若干张,但纸牌总数必为 N 的倍数。可以在任一堆上取若于张纸牌,然后移动。 移牌规则为:在编号为 1 堆上取的纸牌,只能移到编号为 2 的堆上;在编号为 N 的堆上取的纸牌,只能移到编号为 N-1 的堆上;其他堆上取的纸牌
阅读全文