码迷,mamicode.com
首页 >  
搜索关键字:chess queen    ( 565个结果
The Sultan's Successors UVA - 167
the squares thus selected sum to a number at least as high as one already chosen by the Sultan. (For those unfamiliar with the rules of chess, this im ...
分类:其他好文   时间:2017-05-25 23:19:59    阅读次数:267
POJ——T2446 Chessboard
http://poj.org/problem?id=2446 Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 18560 Accepted: 5857 http://poj.org/problem?id=2446 Descript ...
分类:其他好文   时间:2017-05-24 23:58:15    阅读次数:469
笔记4
[root@localhost ~]# declare -i i=10[root@localhost ~]# declare -i j=10 declare -i[root@localhost ~]# n=i+j[root@localhost ~]# echo $ni+j[root@localhos ...
分类:其他好文   时间:2017-05-22 23:14:37    阅读次数:255
前端页面适配的rem换算
为什么要使用rem 之前有些适配做法,是通过js动态计算viewport的缩放值(initial-scale)。 例如以屏幕320像素为基准,设置1,那屏幕375像素就是375/320=1.18以此类推。 但直接这样强制页面缩放过于粗暴,会导致页面图片文字失真模糊。 Px是相对固定单位,字号大小直接 ...
分类:其他好文   时间:2017-05-21 20:36:47    阅读次数:57103
hdu5794 A Simple Chess 容斥+Lucas 从(1,1)开始出发,每一步从(x1,y1)到达(x2,y2)满足(x2?x1)^2+(y2?y1)^2=5, x2>x1,y2>y1; 其实就是走日字。而且是往(n,m)方向走的日字。还有r个障碍物,障碍物不可以到达。求(1,1)到(n,m)的路径条数。
A Simple Chess Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2597 Accepted Submission(s): 691 P ...
分类:其他好文   时间:2017-05-21 13:45:30    阅读次数:274
Codeforces 701B. Cells Not Under Attack
Vasya has the square chessboard of size n?×?n and m rooks. Initially the chessboard is empty. Vasya will consequently put the rooks on the board one a ...
分类:其他好文   时间:2017-05-18 22:11:46    阅读次数:158
【组合计数】UVA - 11538 - Chess Queen
考虑把皇后放在同一横排或者统一纵列,答案为nm(m-1)和nm(n-1),显然。 考虑同一对角线的情况不妨设,n<=m,对角线从左到右依次为1,2,3,...,n-1,n,n,n,...,n(m-n+1个n),n-1,n-2,...,2,1 还有另一个方向的对角线,所以算出来之后要乘二。 即答案为2 ...
分类:其他好文   时间:2017-05-13 00:33:41    阅读次数:224
超超超简单的bfs——POJ-1915
Knight Moves Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 26102 Accepted: 12305 Description Background Mr Somurolov, fabulous chess-game ...
分类:其他好文   时间:2017-05-09 21:46:21    阅读次数:183
debian下为firefox安装flash插件
从Adobe官网下载flash:http://get.adobe.com/cn/flashplayer/ 我下载的版本是:flash_player_npapi_linux.x86_64.tar.gz找到正确目录 sunone@HY-Chess:~$ whereis firefoxfirefox: / ...
分类:其他好文   时间:2017-05-07 12:49:43    阅读次数:150
poj 1915 Knight Moves 【双向bfs】
Knight Moves Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 22121 Accepted: 10332 Description Background Mr Somurolov, fabulous chess-game ...
分类:其他好文   时间:2017-05-07 10:27:52    阅读次数:299
565条   上一页 1 ... 20 21 22 23 24 ... 57 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!