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
                             
                         
                    
                        
                            
                            
                                方法一:在线安装1.打开HELP->MyEclipse 
Configuration 不过多数情况下再myeclipse实现不了 Center。切换到SoftWare标签页。2.点击Add Site 
打开对话框,在对话框Name输入Svn,URL中输入:http://subclipse.tigr...
                            
                            
                                分类:
系统相关   时间:
2014-05-26 07:55:43   
                                阅读次数:
420
                             
                         
                    
                        
                            
                            
                                UVA 10843 - Anne's game
题目链接
题意:题意说得挺绕的,其实本质上就是求n个点,可以接连出多少种不同的生成树
思路:这是Caylay定理,网上能找到证明,结果为nn?2,然后利用快速幂去求解。
代码:
#include 
#include 
const int long long MOD = 2000000011;
int t;
long long n;...
                            
                            
                                分类:
其他好文   时间:
2014-05-26 03:36:35   
                                阅读次数:
278
                             
                         
                    
                        
                            
                            
                                iOS开发UI基础—手写控件,frame,center和bounds属性一、手写控件1.手写控件的步骤(1)使用相应的空间类创建控件对象(2)设置该控件的各种属性(3)添加控件到视图中(4)如果是button等控件,还需考虑控件的单击事件等(5)注意:View 
Contollor和view的关系2....
                            
                            
                                分类:
移动开发   时间:
2014-05-23 04:56:23   
                                阅读次数:
400
                             
                         
                    
                        
                            
                            
                                这些属性,内部都是结构体:CGRect CGPoint 
CGFloat背景知识:所有的控件都是view的子类,屏幕就是一个大的view;每个view都有个viewController,它是view的管家,每个view对应着一个viewController,来管理view。frame 
& bounds...
                            
                            
                                分类:
移动开发   时间:
2014-05-23 04:18:38   
                                阅读次数:
338
                             
                         
                    
                        
                            
                            
                                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