码迷,mamicode.com
首页 >  
搜索关键字:a stone removing gam    ( 709个结果
zoj 3591 Nim
NimTime Limit:3 Seconds Memory Limit:65536 KBNim is a mathematical game of strategy in which two players take turns removing objects from distinct hea...
分类:其他好文   时间:2015-05-07 06:17:50    阅读次数:241
leetcode 19 Remove Nth Node From End of List
Given a linked list, remove the nth node from the end of list and return its head.For example, Given linked list: 1->2->3->4->5, and n = 2.After removing the second node from the end, the linked li...
分类:其他好文   时间:2015-05-05 23:57:00    阅读次数:301
删除空格、点号、减号和换行
$text = ' ... Hello ...--- '$text.Trim(" .-`t`n`r")结果只显示:HelloFrom:http://powershell.com/cs/blogs/tips/archive/2015/04/30/removing-whitespace-...
分类:其他好文   时间:2015-05-05 19:12:39    阅读次数:106
LeetCode 19 Remove Nth Node From End of List 移除倒数第N个节点
题目: Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1->2->3->4->5, and n = 2. After removing the second node from the...
分类:其他好文   时间:2015-05-04 18:20:31    阅读次数:156
(floyd应用) poj 2253
FroggerTime Limit:1000MSMemory Limit:65536KTotal Submissions:28112Accepted:9136DescriptionFreddy Frog is sitting on a stone in the middle of a lake. S...
分类:其他好文   时间:2015-04-30 00:41:20    阅读次数:161
LCT男人八题系列
楼教的男人八题名气甚大,今天做了一道感觉还是涨了不少姿势的,然而估计之后的每道题都要看题解吧,姑且先记录一下。以后再做再更1737Connected Graph1100LouTiancheng@POJ1738An old Stone Game407LouTiancheng@POJ1739Tony's...
分类:其他好文   时间:2015-04-28 22:47:03    阅读次数:327
解题报告 之 SOJ2414 Leapin' Lizards
解题报告 之 SOJ2414 Leapin' Lizards Your platoon of wandering lizards has entered a strange room in the labyrinth you are exploring. As you are looking around for hidden treasures, one of the rookies steps on an innocent-looking stone and the room's floor sudd...
分类:Windows程序   时间:2015-04-26 10:54:58    阅读次数:186
从链表的末端开始,删除第n个节点
Given a linked list, remove the?nth?node from the end of list and return its head. For example, ???Given?linked?list:?1->2->3->4->5,?and?n?=?2. ???After?removing?the?second?nod...
分类:其他好文   时间:2015-04-24 12:47:55    阅读次数:148
#19 Remove Nth Node From End of List
Given a linked list, remove thenthnode from the end of list and return its head.For example.Given linked list: 1->2->3->4->5, and n = 2.After removing...
分类:其他好文   时间:2015-04-23 17:17:07    阅读次数:97
hdu 4248 A Famous Stone Collector
首先发现一个很头痛的问题,下面是2个求排列组合的代码1 memset(C,0,sizeof(C));2 for(int i=0;i 2 #include 3 #include 4 #define MOD 1000000007 5 using namespace std; 6 typedef...
分类:其他好文   时间:2015-04-18 12:58:22    阅读次数:130
709条   上一页 1 ... 50 51 52 53 54 ... 71 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!