1、当做安卓移植的时候遇到如下问题:
Android NDK: jni/Android.mk: Cannot find module with tag 'CocosDenshion/android' in import path
Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ?
Andr...
分类:
移动开发 时间:
2014-08-06 19:16:22
阅读次数:
214
Exclusive or
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)
Total Submission(s): 327 Accepted Submission(s): 137
Problem Description
Given n, find...
分类:
其他好文 时间:
2014-08-06 19:07:02
阅读次数:
263
select控件选项1,获取select选中的value值 $("#selectID").val();2,获取select选中的text的值$("#selectID").find("option:selected").text()3,设置select的第几项为当前选中项$("#selectID")....
分类:
Web程序 时间:
2014-08-06 18:28:24
阅读次数:
208
最近在配置Android环境的时候着实让我迷惘了许久,最主要的一个问题就是在创建AVD的时候,出现如下问题:PANIC: Could not open *** 可能的原因1原因一:因为我们采用的是绝对路径定位,也就是说在环境变量里面把路径写死了,所以安装都不同,路径读不出来。解决办法:①在环境变量中...
分类:
移动开发 时间:
2014-08-06 18:06:11
阅读次数:
212
Copy List with Random PointerA linked list is given such that each node contains an additional random pointer which could point to any node in the lis...
分类:
其他好文 时间:
2014-08-06 17:44:31
阅读次数:
225
查询操作主要用到两个类:Query, Criteria所有的find方法都需要一个query的object。1. 直接通过json来查找,不过这种方式在代码中是不推荐的。BasicQuery query = new BasicQuery("{ age : { $lt : 50 }, accounts...
分类:
数据库 时间:
2014-08-06 17:24:51
阅读次数:
855
解决方法如下:一、 代码:sudo chown $USER:$USER /home/$USER/.ICEauthority sudo chmod 644 /home/$USER/.ICEauthority
分类:
其他好文 时间:
2014-08-06 17:20:31
阅读次数:
241
通配符多用在文件名上,比如查找find,ls,cp等。正则表达式用在文本过滤工具里,比如grep,awk,sed等。一、通配符*可以和零个或多个任意字符匹配? 与任何单个字符匹配二、正则表达式正则表达式中的特殊字符比较多,以下仅列举一些:. 匹配任何单个字符$ 匹配行结束符^ 匹配一行的开...
分类:
其他好文 时间:
2014-08-06 17:20:11
阅读次数:
251
Problem Description
Given two matrices A and B of size n×n, find the product of them.
bobo hates big integers. So you are only asked to find the result modulo 3.
Input
The input con...
分类:
其他好文 时间:
2014-08-06 14:58:51
阅读次数:
220
Problem Description
bobo has a sequence a1,a2,…,an. He is allowed to swap two adjacent numbers for no more than k times.
Find the minimum number of inversions after his swaps.
Note: The numbe...
分类:
其他好文 时间:
2014-08-06 14:51:38
阅读次数:
177