Edward is the headmaster of Marjar University. He is enthusiastic about chess and often plays chess with his friends. What's more, he bought a large d...
分类:
其他好文 时间:
2015-12-19 11:00:51
阅读次数:
188
传送门给0-n这么多个格子, 初始在0, 然后扔骰子, 扔到几就走几步, 其中有些格子是相连的, 比如2,5相连, 那么到2就可以直接飞到5。 问到n处的期望步数。首先肯定是倒着推的, dp[n] = 0. 然后如果x, y(x 2 using namespace std; 3 #define me...
分类:
其他好文 时间:
2015-12-03 13:16:36
阅读次数:
176
从上周五学数论以后就开始堕落了看了三四集MIT线代,看完白书埃氏筛法做不出来无平方因子周六模拟赛差点爆零 其实题并不难 但是暴露了很多问题chess深搜没掌握精华 八皇后问题还得再仔细学 思想核心是最重要的 否则不会变通escape受思维定势影响 找了一种最复杂的错方法周一早上一直学HTML5和CS...
分类:
其他好文 时间:
2015-11-30 17:30:58
阅读次数:
136
DescriptionIn Chinese Chess, there is one kind of powerful chessmen called Cannon. It can move horizontally or vertically along the chess grid. At ea....
分类:
其他好文 时间:
2015-11-29 19:30:12
阅读次数:
174
D. Vasya and ChessVasya decided to learn to play chess. Classic chess doesn't seem interesting to him, so he plays his own sort of chess.The queen is ...
分类:
其他好文 时间:
2015-11-20 00:15:04
阅读次数:
231
A rook is a piece used in the game of chess which is played on a board of square grids. A rook can only move vertically or horizontally from its curre...
分类:
其他好文 时间:
2015-10-27 17:00:26
阅读次数:
147
12.3 We have the following method used in a chess game: boolean canMoveTo( int x, int y). This method is part of the Piece class and returns whether o...
分类:
移动开发 时间:
2015-10-25 10:49:09
阅读次数:
224
1005 - Rooks PDF (English) Statistics Forum Time Limit: 1 second(s)Memory Limit: 32 MBA rook is a piece used in the game of chess which is played on.....
分类:
其他好文 时间:
2015-10-24 21:56:49
阅读次数:
284
DescriptionNowadays, a kind of chess game called “Super Jumping! Jumping! Jumping!” is very popular in HDU. Maybe you are a good boy, and know little ...
分类:
其他好文 时间:
2015-10-19 10:49:17
阅读次数:
116
DominationTime Limit:8 Seconds Memory Limit:131072 KB Special JudgeEdward is the headmaster of Marjar University. He is enthusiastic about chess and o...
分类:
其他好文 时间:
2015-09-30 20:52:17
阅读次数:
191