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
41.android-swipelistviewSwipeListView是一个Android
List View实现,实现了自定义ListView单元格,可通过滑动来显示扩展面板。开发者可直接登陆Google
Play下载安装其Demo应用。42.greenDAOgreenDAO是一个可以帮助An...
分类:
其他好文 时间:
2014-05-26 22:00:33
阅读次数:
379
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
Problem APlay with Floor and CeilInput:standard
inputOutput:standard outputTime Limit:1 secondTheoremFor any two
integersxandkthere exists two more in...
分类:
其他好文 时间:
2014-05-26 14:21:44
阅读次数:
270
1.在android中添加admob的广告从android的sdk中下载google-play-services_lib的开发库,这个里面包含了我们需要的jar文件,把下载的这个文件导入到我们eclipse工程,这个文件一般在你android
SDK的extras\google目录下,选中googl...
分类:
移动开发 时间:
2014-05-26 07:50:12
阅读次数:
351
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
Flip GameDescriptionFlip game is played on a
rectangular 4x4 field with two-sided pieces placed on each of its 16 squares.
One side of each piece is w...
分类:
其他好文 时间:
2014-05-25 03:21:52
阅读次数:
255
【题目】
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.
Determine if you are able to reach the last index.
For example:...
分类:
其他好文 时间:
2014-05-24 20:44:39
阅读次数:
221
之所以说leetcode的测试用例有问题,是因为我刚开始理解错了题意,写下了如下的错误的代码。但是却AC了。
错误代码为:
bool canJump(int A[], int n) {
if(n == 0) return true;
int sum = 0; //记录当前的最远距离
int i = 0;
...
分类:
其他好文 时间:
2014-05-24 19:45:57
阅读次数:
1081
最近在googl play上发布apk要优化
这里用android sdk来优化...
分类:
移动开发 时间:
2014-05-22 18:50:40
阅读次数:
285