码迷,mamicode.com
首页 >  
搜索关键字:christmas game    ( 5650个结果
Little Bishops uva861
Little BishopsA bishop is a piece used in the game of chess which is played on a board of square grids. A bishop can only move diagonally from its cur...
分类:其他好文   时间:2014-07-09 23:05:17    阅读次数:252
POJ 2996 Help Me with the Game
Help Me with the Game Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 3292   Accepted: 2122 Description Your task is to read a picture of a chessboard posi...
分类:其他好文   时间:2014-07-09 11:58:32    阅读次数:204
UVA-10635 Prince and Princess
Problem D Prince and Princess Input: Standard Input Output: Standard Output Time Limit: 3 Seconds   In an n x n chessboard, Prince and Princess plays a game. The squares in the chessboard are ...
分类:其他好文   时间:2014-07-09 11:44:54    阅读次数:211
HDU1698 Just a Hook 【线段树】+【成段更新】+【lazy标记】
Just a Hook Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 15889    Accepted Submission(s): 7897 Problem Description In the game o...
分类:其他好文   时间:2014-07-09 11:35:08    阅读次数:215
poj 3013 Big Christmas Tree (dij+优先队列优化 求最短路)
模板 题意:给你一个图,1总是为根,每个边有单位价值,每个点有权重。 每条边的价值 = sum(后继节点权重)*边的单位价值。 求树的最小价值,即构成一棵树的n-1条边的最小价值。 算法: 1、因为每个边的价值都要乘以后来访问的节点的权重,而走到后来访问的点必经过这条边。 实际上总价值就是  到每个点的最短路径*这个点的权重。 2、但是这个题 数据量真的太大了,50000个点...
分类:其他好文   时间:2014-07-09 11:33:57    阅读次数:273
LA-3882 And Then There Was One
3882 - And Then There Was One Time limit: 3.000 seconds  Let's play a stone removing game. Initially, n stones are arranged on a circle and numbered 1,..., n clockwise (Figure 1). You are also...
分类:其他好文   时间:2014-07-09 10:00:13    阅读次数:172
POJ1753:Flip Game
Flip Game Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 29713   Accepted: 12876 Description Flip game is played on a rectangular 4x4 field with two-sided...
分类:其他好文   时间:2014-07-08 13:32:49    阅读次数:189
poj 2965 The Pilots Brothers' refrigerator
The Pilots Brothers' refrigerator Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 18040   Accepted: 6841   Special Judge Description The game “The Pilots...
分类:其他好文   时间:2014-07-08 12:54:14    阅读次数:131
ZOJ3605-Find the Marble(概率DP)
Find the Marble Time Limit: 2 Seconds      Memory Limit: 65536 KB Alice and Bob are playing a game. This game is played with several identical pots and one marble. When the game starts, Alice...
分类:其他好文   时间:2014-07-06 11:35:34    阅读次数:133
HDU 1525 博弈
Euclid's Game Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 1880    Accepted Submission(s): 825 Problem Description Two players, Stan...
分类:其他好文   时间:2014-07-06 00:02:49    阅读次数:253
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!