码迷,mamicode.com
首页 >  
搜索关键字:one person game    ( 39118个结果
NBUT Minecraft Server Bug
问题描述 Oh Jesus! The Minecraft Server of XadillaX's came across a bug! There's one way to solve this bug in game. That is to get a bucket of water and a bucket of lava and mix them to obsidian. But ...
分类:其他好文   时间:2014-05-10 10:13:22    阅读次数:307
NBUT The Sum of F(x) and G(x)
问题描述 When Deathmoon played MC game, he faced a math problem. When he found a ancient tomb and came in, he found two polynomials f(x) and g(x) no the wall, only did he calculate f(x) + g(x) correctly ...
分类:其他好文   时间:2014-05-10 09:57:54    阅读次数:300
安卓下cocos2dx实现cpp部分在线更新
目前cocos2dx + lua的方式可以动态更新所有的脚本文件,但是却无法动态更新cpp部分的代码(这部分东西一般我们称之为底包),事实上采用同样的方案在android下也是可以实现动态更新的,只需要将java代码里加载libgame.so的代码稍微做些修改即可     static {         System.loadLibrary("game");     }   ...
分类:移动开发   时间:2014-05-10 09:22:31    阅读次数:531
HDOJ 3622 Bomb Game
二分距离2sat Bomb Game Time Limit: 10000/3000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3382    Accepted Submission(s): 1161 Problem Description R...
分类:其他好文   时间:2014-05-10 09:18:11    阅读次数:318
[2013山东ACM省赛] Alice and Bob
Alice and Bob Time Limit: 1000MS Memory limit: 65536K 题目描述     Alice and Bob like playing games very much.Today, they introduce a new game.     There is a polynomial like this: (a0*x^(2^0)...
分类:其他好文   时间:2014-05-10 08:44:35    阅读次数:363
SPUser的操作
处理Sharepoint中的SPListItem时,有时需要获得这个对象的"Created By"(创建者),并且希望是SPUser类型,而不是string,这样可以进而得到该用户的权限、ID等等。 "Person or Group"(用户或组)对应的类型是SPFieldUser,怎么把SPFiel...
分类:其他好文   时间:2014-05-07 10:13:36    阅读次数:324
POJ-1042 Gone Fishing (贪心法求最佳钓鱼方案
John is going on a fishing trip. He has h hours available (1 <= h <= 16), and there are n lakes in the area (2 <= n <= 25) all reachable along a single, one-way road. John starts at lake 1, but he can finish at any lake he wants. He can only travel from on...
分类:其他好文   时间:2014-05-07 08:48:52    阅读次数:515
CareerCup之1.3字符串去重
【题目】 原文: 1.3 Design an algorithm and write code to remove the duplicate characters in a string without using any additional buffer. NOTE: One or two additional variables are fine. An extra copy of...
分类:其他好文   时间:2014-05-07 08:48:12    阅读次数:372
POJ-1243 One Person (经典级dp
题目大意: 有一种猜数字的游戏,你有G次机会以及L点生命值,游戏首先给定一个范围1~N,你要来猜在此范围内的一个数字X。你的每次猜测都会告诉你是猜高了还是低了,每次猜测都要损失一次猜测机会(即G--),但如果你猜的值比X高了,那么同时还要损失一点生命值(L--)。 现在主办人面临一个问题:若给定的范围太大,就有很有可能导致参赛者用尽机会和生命值也猜不到这个X;而范围太小的话又降低了趣味性。所以,需要你来帮忙,根据给定的G和L来确定一个尽量大的范围,同时确保该范围内的所有数字都是一定可以被猜到的。...
分类:其他好文   时间:2014-05-07 08:27:26    阅读次数:387
方格拼图游戏2(javascript以类的形式实现)+增加批量移动
今天又在原来的基础上,增加了新的功能:当空白方格A 与 鼠标点击的方格 B在同一行,或者同一列,而且当他们不是紧挨着的情况,自动将B到A间的方格们,顺次移动填补空白方格。var game ={ wid_num:3, cotainerid:"game_cotainer", init:...
分类:移动开发   时间:2014-05-06 14:18:17    阅读次数:541
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!