码迷,mamicode.com
首页 >  
搜索关键字:24 point game    ( 12592个结果
枚举(+-)
The game “The Pilots Brothers: following the stripy elephant” has a quest where a player needs to open a refrigerator.There are 16 handles on the refr...
分类:其他好文   时间:2014-05-26 22:16:23    阅读次数:329
hdu 1054 Strategic Game (二分匹配)
Strategic GameTime Limit: 20000/10000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4697Accepted Submission(s): 2125Pr...
分类:其他好文   时间:2014-05-26 21:02:16    阅读次数:278
计算几何模板
1、典型的Point结构体 1 struct point { 2 double x, y; 3 point(double _x = 0, double _y = 0): x(_x), y(_y) { 4 } 5 void input() { 6 sca...
分类:其他好文   时间:2014-05-23 03:40:15    阅读次数:362
Unity3D快捷键 未完待续
Unity3D点选Object+F Object在当前视角居中CTRL+1/2 Scene/Game视图的切换MonoDevelopCTRL+K 删除光标所在行的该行后面的代码CTRL + ALT +C 注释/不注释该行CTRL+ DOWN 像鼠标滚轮一样向下拖CTRL + UP 像鼠标滚轮一样向上...
分类:其他好文   时间:2014-05-23 02:39:51    阅读次数:237
uva 10400 Game Show Math (填合适的运算符)
看到这种填合适的运算符之类的题目,第一感觉就是用dfs来枚举递归。 但邮箱道题目算法设计里面那么大的数据,想到有可能会超时。 用最直白的简单的方法dfs一遍后交上,超时。 ——需要判重和边界结束条件。 在所有能剪断的地方痛下狠手,狂加特判+return; 然后就炒鸡快了 #include #include #include #define ADD 32000 using namespa...
分类:其他好文   时间:2014-05-23 02:06:42    阅读次数:285
HDU 1048 What Is Your Grade? (简单模拟)
What Is Your Grade? Problem Description “Point, point, life of student!” This is a ballad(歌谣)well known in colleges, and you must care about your...
分类:其他好文   时间:2014-05-23 00:59:22    阅读次数:375
CentOS系统mount windows共享文件夹
格式: mount -t cifs //IP/share-folder  /mnt-point -o username=your-username,passwd=your-password [root@client mnt]# mount -t cifs //192.168.230.1/f /mnt/share/ -o username=***,passwd=*** [root@clien...
分类:Windows程序   时间:2014-05-23 00:39:58    阅读次数:458
POJ - 1054 The Troublesome Frog
题意:给你个矩阵,里面有n个标记的点,许多只青蛙在上面跳,每次跳的距离都是一样的且轨迹是直线,目标是从一边跳到另一边,求最多步数的青蛙 思路:排序后,枚举判断 #include #include #include #include using namespace std; const int MAXN = 5050; struct point{ int x,y; void ini...
分类:其他好文   时间:2014-05-22 18:50:02    阅读次数:255
LeetCode: Jump Game II [044]
【题目】 Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Your goal is to reach the last index in the minimum number of ju...
分类:其他好文   时间:2014-05-22 17:02:20    阅读次数:244
SnakeGo : Scaling Screen on Stage II
昨晚把BaseScreen就敲好了, 也找到了屏幕放缩的最优和最简方式. 不多说, 看代码: public BaseScreen(final SnakeGo game) { super(new ScalingViewport(Scaling.fit, CommonConsts.Screen.WIDT...
分类:其他好文   时间:2014-05-22 14:52:32    阅读次数:206
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!