摘要:
Tower of HanoiTime Limit:1000MSMemory Limit:131072KTotal Submissions:1853Accepted:635DescriptionThe Tower of Hanoi is a puzzle consisting of three peg... 阅读全文
摘要:
The TriangleTime Limit:1000MSMemory Limit:10000KTotal Submissions:39169Accepted:23518Description73 88 1 02 7 4 44 5 2 6 5(Figure 1... 阅读全文
摘要:
小孩报数问题Time Limit:1000MSMemory Limit:65536KTotal Submissions:10523Accepted:4882Description有N个小孩围成一圈,给他们从1开始依次编号,现指定从第W个开始报数,报到第S个时,该小孩出列,然后从下一个小孩开始报数,仍... 阅读全文
摘要:
位操作Time Limit:1000MSMemory Limit:65536KTotal Submissions:8856Accepted:3535Description假设你工作在一个32位的机器上,你需要将某一个外设寄存器的第X位设置成0(最低位为第0位,最高位为第31位),将第Y位开始的连续三... 阅读全文
摘要:
Primitive RootsTime Limit:1000MSMemory Limit:10000KTotal Submissions:3155Accepted:1817DescriptionWe say that integer x, 0 2 using namespace std; 3 in... 阅读全文
摘要:
BiorhythmsTime Limit:1000MSMemory Limit:10000KTotal Submissions:117289Accepted:36793DescriptionSome people believe that there are three cycles in a pe... 阅读全文