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
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
题意:输入一个n以EOF作为结束,之后n行每行输入一个x,一个v,x代表当前车的坐标,v代表车的速度,问最后总共的超车数。解题思路:思路其实很简单,用将车排序,按照x1y2排序。然后比较就好了,当x1y2时超车数就增加。不过这题数据量比较大,暴力搜索的话肯定超时。在网上看到别人的思路才明白,也了解了...
分类:
其他好文 时间:
2014-05-23 09:04:06
阅读次数:
246
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
看到这种填合适的运算符之类的题目,第一感觉就是用dfs来枚举递归。
但邮箱道题目算法设计里面那么大的数据,想到有可能会超时。
用最直白的简单的方法dfs一遍后交上,超时。
——需要判重和边界结束条件。
在所有能剪断的地方痛下狠手,狂加特判+return;
然后就炒鸡快了
#include
#include
#include
#define ADD 32000
using namespa...
分类:
其他好文 时间:
2014-05-23 02:06:42
阅读次数:
285
【题目】
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
昨晚把BaseScreen就敲好了, 也找到了屏幕放缩的最优和最简方式. 不多说, 看代码:
public BaseScreen(final SnakeGo game) { super(new ScalingViewport(Scaling.fit,
CommonConsts.Screen.WIDT...
分类:
其他好文 时间:
2014-05-22 14:52:32
阅读次数:
206
Tautology
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 9078
Accepted: 3477
Description
WFF 'N PROOF is a logic game played with dice. Each die has six...
分类:
其他好文 时间:
2014-05-21 13:53:44
阅读次数:
259
POJ【数论/组合/博弈论】题目列表
POJ【数论/组合/博弈论】题目列表
原来的列表比较水,今天换了一个难一些的列表,重新开始做~
红色的代表已经AC过,蓝色的代表做了但是还没过。这句话貌似在我空间里的每份列表里都有额。
博弈论
POJ 2234 Matches Game
POJ 2975 Nim
POJ 2505 A multiplication game
POJ...
分类:
其他好文 时间:
2014-05-21 11:09:40
阅读次数:
346
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 maximu...
分类:
其他好文 时间:
2014-05-21 04:39:53
阅读次数:
332