最近开始学习android,开发一个小项目,功能很简单,就是从服务器上获取数据,之后显示在手机上。打算把访问服务器的功能打包成一个jar文件。然后android 引入jar包。在eclipse 里 新建了一个java项目。之后完成代码测试,打包成jar文件 都很顺利。引用到android项目中,调试...
分类:
移动开发 时间:
2014-07-30 23:40:35
阅读次数:
248
题目描述 Give you a lot of positive integers, just to find out how many prime numbers there are.. In each case, there is an integer N representing the num...
分类:
其他好文 时间:
2014-07-30 23:35:35
阅读次数:
300
function doSubmit() {
$(‘#T_form select‘).each(function(){
$(this).find(‘:selected‘).attr(‘selected‘, true);
});
$("#T_form :text").each(function(){
$(this).attr(‘value‘, $(this).val());
})...
分类:
移动开发 时间:
2014-07-30 21:02:44
阅读次数:
209
Problem Description
Given an N * M matrix with each entry equal to 0 or 1. We can find some rectangles in the matrix whose entries are all 1, and we define the maximum area of such rectangle as thi...
分类:
移动开发 时间:
2014-07-30 20:48:34
阅读次数:
260
Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example: Given the below binary tree, 1 ...
分类:
其他好文 时间:
2014-07-30 20:33:34
阅读次数:
193
Create indexes on one or more columns in a table to help SQL server find the data quickly in a query.An index helps speed up SELECT queries and WHERE ...
分类:
数据库 时间:
2014-07-30 20:15:54
阅读次数:
281
一、find(String queryString);示例:this.getHibernateTemplate().find("from bean.User");返回所有User对象二、find(String queryString , Object value);示例:this.getHibern...
分类:
编程语言 时间:
2014-07-30 20:14:54
阅读次数:
332
function OnFinish(selProj, selObj){ try { var strProjectPath = wizard.FindSymbol('PROJECT_PATH'); var strProjectName = wizard.Find...
分类:
Web程序 时间:
2014-07-30 20:09:24
阅读次数:
268
Problem Description
Recently, scientists find that there is love between any of two people. For example, between A and B, if A don’t love B, then B must love A, vice versa. And there is no possibilit...
分类:
其他好文 时间:
2014-07-30 17:38:04
阅读次数:
287
POJ 1703 Find them, Catch them (数据结构-并查集)
题目大意:
T组测试数据,n个人,m组询问,D a b 表示 a,b 不在同一个gang(虽然不知道gang是什么意思?) ,A a b表示a和b的关系。
解题思路:
只需要并查集,再加入一个enemy数组记录某人的一个敌人即可。...
分类:
其他好文 时间:
2014-07-30 17:34:24
阅读次数:
249