代码运行前需要先导入dom4j架包。需要解析的XML文件test.xml如下: 崔卫兵 PC学院 62354666 男,1982年生,硕士,现就读于北京邮电大学 cwb ...
分类:
编程语言 时间:
2014-07-22 00:33:36
阅读次数:
287
http://stackoverflow.com/questions/15267539/how-to-upload-image-to-server-from-gallery-as-json-on-ioshttp://stackoverflow.com/questions/11251340/conve...
分类:
移动开发 时间:
2014-07-22 00:33:35
阅读次数:
207
Extjs的主要配置内容:示例代码:Ext.onReady(function(){ Ext.QuickTips.init(); var loginForm = new Ext.form.Panel({ title:'Ext.form.field.Text示例', bodyStyle:'padding...
分类:
Web程序 时间:
2014-07-22 00:33:35
阅读次数:
261
#include#includeusing namespace std;int f[1050][1050],d[1050],res[1550000];int n,j=0,k=0,m=0;void search(int z) { for(int i=1;i0) {f[z][i]--; f[i][...
分类:
其他好文 时间:
2014-07-22 00:33:34
阅读次数:
293
一 题意描述:给你N(1 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 const int N = 10000 + 10; 8 const int K = 100 + 10; 9 bool f[N][...
分类:
其他好文 时间:
2014-07-22 00:32:38
阅读次数:
207
在ssh的配置文件中有2个参数可以控制空闲连接超时断开。这2个参数是ClientAliveCountMax和ClientAliveInterval。 Solaris10上设置空闲ssh连接超时断开的方法如下: 修改/etc/ssh/sshd_config文件,在文件中加入以下内容:ClientAli...
分类:
其他好文 时间:
2014-07-22 00:32:38
阅读次数:
197
用G++过了,c++无限WA
就是一水,就是求输入的字符串中是否有一个是其他字符串的子串;
注意这种数据。。。
0000
010
01
9
字符串的长度从大到小;
#include
#include
#include
using namespace std;
char qq[20005];
struct node{
int q[2];
int w;
node...
分类:
其他好文 时间:
2014-07-22 00:30:36
阅读次数:
192
UVA 684 - Integral Determinant
题目链接
题意:给定一个行列式,求出值
思路:利用线性代数中的列相减,然后不断降阶即可,就是要用分数去写
代码:
#include
#include
#include
using namespace std;
const int N = 35;
long long gcd(long long a...
分类:
其他好文 时间:
2014-07-22 00:26:37
阅读次数:
207
Color To string,string To Color...
分类:
其他好文 时间:
2014-07-21 13:33:27
阅读次数:
163