问题描述:1、当前的项目用的是4.3,经过断点调试,知道错误发生在HttpURLConnection con = (HttpURLConnection)url.openConnection();//打开一个connection连接 con.setRequestMethod("GET")...
分类:
移动开发 时间:
2015-03-14 15:19:13
阅读次数:
130
http://poj.org/problem?id=3278从n出发,向两边转移,为了不使数字无限制扩大,限制在2*k以内,注意不能限制在k以内,否则就缺少不断使用-1得到的一些结果#include #include #include #include using namespace std;con...
分类:
其他好文 时间:
2015-03-14 15:02:52
阅读次数:
164
----------------------------------------------------------------------------RFC list:3550 (rtp/rtcp) -3711(srtp) -5245 (ice) -3261(sip) - 4575(sip-con...
分类:
其他好文 时间:
2015-03-14 00:55:05
阅读次数:
387
W3School介绍:http://www.w3school.com.cn/html5/html5_meta.aspmeta是用来在HTML文档中模拟HTTP协议的响应头报文。meta 标签的用处很多。meta 的属性有两种:name和http-equiv。name属性主要用于描述网页,对应于con...
分类:
Web程序 时间:
2015-03-13 23:46:23
阅读次数:
142
题意:给出n对选手姓名,每对表示前者赢后者,求整场比赛是否有冠军;
思路:将名字用数字表示,离散化,然后就是裸裸的拓扑排序,只需判断初始时入度为0的是否唯一;
#include
#include
#include
using namespace std;
int n,m,i,j,k,con;
int mm[1001][1001],indegree[500010];
char s1[500010...
分类:
其他好文 时间:
2015-03-13 22:28:47
阅读次数:
242
原文:http://blog.sina.com.cn/s/blog_3fc85e260100msz3.html每个事务使得数据库从一个一致的永久状态原子地转移到一个新的一致的永久状态,可以说,事务的ACID(the transactional properties of Atomicity, Con...
分类:
数据库 时间:
2015-03-13 18:25:01
阅读次数:
178
Install MongoDB1Import the public key used by the package management system.The Ubuntu package management tools (i.e. dpkg and apt) ensure package con...
分类:
数据库 时间:
2015-03-13 18:14:41
阅读次数:
203
URI是网络资源的定义,代表了要操作的数据,Uri主要包含了两部分信息:1》需要操作的ContentProvider2》对ContentProvider中的什么数据进行操作一个Uri由以下几部分组成:l[1] 标准前缀,用来说明一个Content Provider控制这些数据,无法改变的 Con.....
分类:
其他好文 时间:
2015-03-13 00:07:14
阅读次数:
127
存在问题
你需要从一个网站获取和解析一个HTML文档,并查找其中的相关数据。你可以使用下面解决方法:
解决方法
使用 Jsoup.connect(String
url)方法:
Document doc = Jsoup.connect("http://example.com/").get();
String title = doc.title();
说明
con...
分类:
Web程序 时间:
2015-03-11 17:24:13
阅读次数:
164