码迷,mamicode.com
首页 >  
搜索关键字:knight moves    ( 435个结果
(原创)Louis Aston Knight 的家(摄影,欣赏)
本文图片转自腾讯文化:www.cal.qq.com 1.Abstract 记忆中的家,深情刻画。 2.Content 图1 图2 图3 图4 图5 图6 图7 图8 图9 图10 图10 图11 图12 3.Conclusion 我的家,依水而傍,虽不富裕,但大自然丝毫也没有吝惜对我的美的给予;我的...
分类:其他好文   时间:2014-12-25 21:51:48    阅读次数:255
hdu 5148 树形dp+分组背包问题
http://acm.hdu.edu.cn/showproblem.php?pid=5148 Problem Description Long long ago,there is a knight called JayYe.He lives in a small country.This country is made up of n cities connected by n-1...
分类:其他好文   时间:2014-12-21 11:33:39    阅读次数:224
uva-439 - HDOJ-1372-Knight Moves-翻译详解
Knight Moves Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 7012    Accepted Submission(s): 4238 Problem Description A friend of you i...
分类:其他好文   时间:2014-12-17 09:13:29    阅读次数:155
10055 - Hashmat the Brave Warrior & 各数据类型所占字节数 (C语言)
Problem AHashmat the brave warriorInput:standard inputOutput:standard outputHashmat is a brave warrior who with his group of young soldiers moves from...
分类:编程语言   时间:2014-12-14 17:00:29    阅读次数:274
URAL 2014 Zhenya moves from parents 线段树
题目链接:点击打开链接 题意: 给定一张银行卡的n条记录: val day.mon hour:min 表示这张卡在这个时间有一条交易。 输出n行,对于输出的第i行表示:根据前i件记录,可以推测出这张卡的最大透支额度是多少。 即:把前i个记录按时间排个序,跑一遍,输出过程中的最小值。 思路: 我们可以认为前i-1个事件已经有序,并且每个事件都有个过程最小值。 1、当插入第i个事件时...
分类:其他好文   时间:2014-12-09 15:39:21    阅读次数:269
Knight's Trip 马在无线大棋盘上跳到指定点最小步数问题
题目描述 Problem D: Knight's Trip In chess, each move of a knight consists of moving by two squares horizontally and one square vertically, or by one square horizontally and two squares vertically....
分类:其他好文   时间:2014-12-09 14:03:08    阅读次数:617
Sicily 1936. Knight Moves
题目地址:1936. Knight Moves思路: 这道题一开始不理解题意…orz...囧,看大神们理解的。 题意是说一个8*8的国际象棋,骑士以马的形式走动(“日”字型),指定两个点,输出最小的步骤。 可以利用广度搜索解决。 具体代码如下: 1 #include 2 #include ...
分类:其他好文   时间:2014-12-09 12:08:21    阅读次数:180
dfs/poj 2488 A Knight's Journey
1 #include 2 using namespace std; 3 const int b[8][2]={{-2,-1},{-2,1},{-1,-2},{-1,2},{1,-2},{1,2},{2,-1},{2,1}}; 4 int a[30][30],p,q; 5 struct 6 { 7 ....
分类:其他好文   时间:2014-12-03 00:11:19    阅读次数:149
poj 1915 Knight Moves(bfs)
Knight Moves Time Limit: 1000MS   Memory Limit: 30000K Total Submissions: 22204   Accepted: 10374 Description Background  Mr Somurolov, fabulous chess-gamer indeed, asse...
分类:其他好文   时间:2014-11-25 16:32:44    阅读次数:168
poj 2243 Knight Moves
Knight Moves Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 11794   Accepted: 6646 Description A friend of you is doing research on the Traveling Knight P...
分类:其他好文   时间:2014-11-21 23:23:02    阅读次数:260
435条   上一页 1 ... 34 35 36 37 38 ... 44 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!