随笔分类 - 数据结构
摘要:敌兵布阵 TimeLimit: 2000/1000 MS (Java/Others) MemoryLimit: 65536/32768 K (Java/Others) TimeLimit: 2000/1000 MS (Java/Others) MemoryLimit: 65536/32768 K (
阅读全文
摘要:Black Box TimeLimit: 1000ms MemoryLimit:10000KB TimeLimit: 1000ms MemoryLimit:10000KB 64-bit integer IO format:%lld 64-bit integer IO format:%lld Prob
阅读全文
摘要:Fence Repair TimeLimit:2000MS MemoryLimit:65536K 64-bit integer IO format:%lld Problem Description Farmer John wants to repair a small length of the f
阅读全文
摘要:The kth great number TimeLimit: 2000/1000 MS (Java/Others) MemoryLimit: 65768/65768 K (Java/Others) TimeLimit: 2000/1000 MS (Java/Others) MemoryLimit:
阅读全文
摘要:Psychos in a Line TimeLimit:1000MS MemoryLimit:256MB 64-bit integer IO format:%I64d Problem Description There are n psychos standing in a line. Each p
阅读全文
摘要:Musical Chairs(约瑟夫环问题) TimeLimit:1000MS MemoryLimit:32768KB 64-bit integer IO format:%I64d Problem Description In the traditional game of Musical Chai
阅读全文
摘要:Joseph(循环链表) TimeLimit:1000MS MemoryLimit:32768KB 64-bit integer IO format:%I64d Problem Description The Joseph's problem is notoriously known. For th
阅读全文
摘要:小孩报数问题(循环链表) TimeLimit:1000MS MemoryLimit:65536K 64-bit integer IO format:%lld Problem Description 有N个小孩围成一圈,给他们从1开始依次编号,现指定从第W个开始报数,报到第S个时,该小孩出列,然后从下
阅读全文
摘要:士兵队列训练问题(循环链表or队列) TimeLimit:1000MS MemoryLimit:32768KB 64-bit integer IO format:%I64d Problem Description 某部队进行新兵队列训练,将新兵从一开始按顺序依次编号,并排成一行横队,训练的规则如下:
阅读全文

浙公网安备 33010602011771号