Right-click then Properties of your HelloCordova-CordovaLib project: in the "Android" tab, check that the "IsLibrary" checkbox is checkedRight-click t...
分类:
其他好文 时间:
2014-10-28 11:40:59
阅读次数:
798
android sdk安装HAXM发现不能正常运行
$ kextstat | grep intel
发现无进程运行
$ sudo kextload –b com.intel.kext.intelhaxm
/Users/Frank/–b failed to load - (libkern/kext) not found; check the system/kernel logs...
分类:
移动开发 时间:
2014-10-27 22:59:19
阅读次数:
348
题目链接:hdu 2888 Check Corners
题目大意:给定一个矩阵,每次查询矩阵中的最大值,并且判断该最大值是否在所查询的角落上。
解题思路:一开始用线段树,一维RMQ都超时了,然后换成了二维的RMQ,结果MLE,dp数组换成9?9就过了。
#include
#include
#include
using namespace std;
const int maxn...
分类:
其他好文 时间:
2014-10-27 21:24:04
阅读次数:
235
问题描述:
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).
For example, this binary tree is symmetric:
1
/ 2 2
/ \ / 3 4 4 3
But the ...
分类:
其他好文 时间:
2014-10-27 21:19:41
阅读次数:
231
问题描述:
Given two binary trees, write a function to check if they are equal or not.
Two binary trees are considered equal if they are structurally identical and the nodes have the same value.
...
分类:
其他好文 时间:
2014-10-27 21:17:54
阅读次数:
165
program bzoj1828;const maxn=100001; check=10000000; type node=record l,r,s,a:longint;end;var t:array [0..maxn*5] of node; a,b,c:array [0.....
分类:
其他好文 时间:
2014-10-27 18:58:21
阅读次数:
233
博主在一个小项目中,要实现注册表单无刷新验证用户名或密码,但是发现不管怎么样都无法在先通过ajax验证之前不提交表单。例如:一个简单的验证函数1 function check(){2 $.post("#name")("xxx.php",{user:user}function(msg){3 ...
分类:
Web程序 时间:
2014-10-27 16:58:30
阅读次数:
207
“val” 为 16进制的字符串,想把字符串每4位的数据提取出来,转成 unsigend short类型,数据已经提取出了,但是在函数调用结束时报错: Run-Time Check Failure #2 - Stack around the variable 'usval' was corrupted。
TCHAR* pMacValue = (TCHAR*)(LPCTSTR)val;
TCHA...
分类:
其他好文 时间:
2014-10-27 14:21:13
阅读次数:
295
Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical an...
分类:
其他好文 时间:
2014-10-27 08:09:30
阅读次数:
167
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ ...
分类:
其他好文 时间:
2014-10-26 15:33:29
阅读次数:
141