码迷,mamicode.com
首页 >  
搜索关键字:jump game    ( 6026个结果
uva 10557 - XYZZY
Problem D: XYZZYADVENT: /ad?vent/, n. The prototypical computer adventure game, first designed by Will Crowther on the PDP-10 in the mid-1970s as an a...
分类:其他好文   时间:2014-08-15 14:34:08    阅读次数:194
poj 1733 Parity game【哈希+并查集】
这道题题意我不想说了,但是有一个条件必须的说,就是1-2其实是0-2这条边,3-4是2-4这条边,但是困惑了好久,其他就是哈希给他一个地址 ,然后把注解看下方   #include #include #define maxx 10001 int par[maxx]; int rank[maxx]; void init() { for(int i=0;i<=maxx;i++...
分类:其他好文   时间:2014-08-15 12:55:08    阅读次数:182
Number Game poj1143
DescriptionChristine and Matt are playing an exciting game they just invented: the Number Game. The rules of this game are as follows.The players take...
分类:其他好文   时间:2014-08-14 20:00:10    阅读次数:244
POJ 2965-The Pilots Brothers' refrigerator--位运算+BFS+回溯路径
The Pilots Brothers' refrigerator Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 18576   Accepted: 7108   Special Judge Description The game “The Pilots...
分类:其他好文   时间:2014-08-14 14:19:08    阅读次数:227
FZU Problem 2148 Moon Game (判断凸四边形)
题目链接题意 : 给你n个点,判断能形成多少个凸四边形。思路 :如果形成凹四边形的话,说明一个点在另外三个点连成的三角形内部,这样,只要判断这个内部的点与另外三个点中每两个点相连组成的三个三角形的面积和要与另外三个点组成的三角形面积相同。中途忘了加fabs还错了好几次 1 //FZU2148 2 #...
分类:其他好文   时间:2014-08-14 13:50:08    阅读次数:169
Poj1753 Flip Game
题目理解:4x4=16个格子,每个格子有两种颜色:黑(b)或白(w),给出初始颜色后,每次可翻转一个格子,即由黑变白,或由白变黑。每翻转一个格子时,其周围的四个格子(即上下左右四个)也要一起翻转。输入为4x4矩阵,表示格子的初始颜色,输出为使得所有格子翻转为同一颜色所需要的翻转的最小格子数目或Imp...
分类:其他好文   时间:2014-08-14 13:15:08    阅读次数:311
将Unity中的世界坐标转换成NGUI中的坐标
将Unity中的世界坐标转换成NGUI中的坐标,比如可用于自制血条等。代码如下: 1 using UnityEngine; 2 using System.Collections; 3 public class Healthbar : MonoBehaviour { 4 public Game...
分类:其他好文   时间:2014-08-14 08:14:58    阅读次数:435
POj 1753--Flip Game--位运算+BFS
Flip Game Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 30669   Accepted: 13345 Description Flip game is played on a rectangular 4x4 field with two-sided p...
分类:其他好文   时间:2014-08-14 01:34:17    阅读次数:351
HDU-2258-Continuous Same Game (1)(DFS)
Problem Description Continuous Same Game is a simple game played on a grid of colored blocks. Groups of two or more connected (orthogonally, not diagonally) blocks that are the same color may be remo...
分类:其他好文   时间:2014-08-13 22:29:17    阅读次数:288
HDOJ 4944 FSF’s game
http://blog.csdn.net/keshuai19940722/article/details/38519681 不明真相的补一发。。。 FSF’s game Time Limit: 9000/4500 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others) Total Submission(s)...
分类:其他好文   时间:2014-08-13 22:27:57    阅读次数:267
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!