码迷,mamicode.com
首页 >  
搜索关键字:knight moves    ( 435个结果
poj 2000
Gold CoinsTime Limit: 1000MSMemory Limit: 30000KTotal Submissions: 20802Accepted: 13018DescriptionThe king pays his loyal knight in gold coins. On the...
分类:其他好文   时间:2014-05-31 21:00:16    阅读次数:360
spring 2.x 之控制反转(ioc)
控制反转顾名思义就是把控制权反过来了,说白了就是一个java bean 里面的属性不是在程序里面生成注入,而是通过spring的xml配置文件进行注入 这个其实就是所谓的依赖注入。请看下面代码public class KnightOfTheRoundTable implements Knight.....
分类:编程语言   时间:2014-05-26 21:01:33    阅读次数:303
pku 2488 A Knight's Journey (搜索 DFS)
题目意思:象棋中的马在一张棋盘上能否不重复的走完所有格子,如果能走完输出走的路径(以字典序),如果没有一种走法能达到这样的目标,则输出impossible。 思路就是DFS 搜下去,当走过的格子数达到格子总数时就打印路径。所以要用一个数组记录每个定点的前驱节点。...
分类:其他好文   时间:2014-05-21 17:00:48    阅读次数:184
汇编语言hello world 代码实现
assumecs:code,ds:datadatasegment msgdb"helloworld"dataendscodesegment start: movax,data movds,ax movbx,0b800h moves,bx movcx,11 movsi,0 movbx,0 movah,01000010bs:moval,ds:[si]moves:[bx],almoves:[bx+1],ahincsiaddbx,2loopsmovax,4c00hint21hcodeendsendstart运..
分类:编程语言   时间:2014-05-20 20:36:44    阅读次数:375
codechef Correctness of Knight Move题解
Chef develops his own computer program for playing chess. He is at the very beginning. At first he needs to write the module that will receive moves written by the players and analyze it. The module w...
分类:其他好文   时间:2014-05-06 23:11:26    阅读次数:497
435条   上一页 1 ... 42 43 44
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!