php操作XML,读取数据和写入数据的方法...
分类:
Web开发 时间:
2014-08-06 10:39:41
收藏:
0 评论:
0 赞:
0 阅读:
262
今天在敲机房管理系统——学生查看上机状态的时候发现有一个“导出为excel”的按钮。我去,感情还得跟excel表链接。于是我咬碎了一地小银牙,一个下午都在查询vb与excel 的链接的问题。...
分类:
其他 时间:
2014-08-06 10:39:31
收藏:
0 评论:
0 赞:
0 阅读:
312
悼念512汶川大地震遇难同胞——老人是真饿了
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 7457 Accepted Submission(s): 3108
Problem Description
时间:...
分类:
其他 时间:
2014-08-06 10:39:21
收藏:
0 评论:
0 赞:
0 阅读:
309
迷瘴
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 3869 Accepted Submission(s): 1328
Problem Description
通过悬崖的yifenfei,又面临着幽谷的考验...
分类:
其他 时间:
2014-08-06 10:39:11
收藏:
0 评论:
0 赞:
0 阅读:
458
Filthy Rich
Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 1793 Accepted Submission(s): 815
Problem Description
They say tha...
分类:
其他 时间:
2014-08-06 10:39:01
收藏:
0 评论:
0 赞:
0 阅读:
405
题意还是比较容易理解的,关键要看到后面的:合条件的排名可能不是唯一的,此时要求输出时编号小的队伍在前;
思路:这道题就是拓扑排序的经典应用了,用队列做的考虑优先编号小的出队就可以了。
拓扑排序:
拓扑排序是对有向无回路图(DAG)顶点的一种排序,它使得如果存在从u到v的有向路径,那么满足序列中u在v前。
所以我们的算法可以描述为这样一个过程:
1、找到整个图中所有的度为0的点,将这些点压...
分类:
其他 时间:
2014-08-06 10:38:51
收藏:
0 评论:
0 赞:
0 阅读:
290
http://poj.org/problem?id=2299
给出n个数,每次只能交换两个相邻的数,问使得n个数有序最少需要交换多少次。
归并排序的模板,重在理解,小白书p144.
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include...
分类:
其他 时间:
2014-08-06 10:38:41
收藏:
0 评论:
0 赞:
0 阅读:
325
给一个n,输出一个长度为n的字符串,使得串中任意相连四个字符组成的串不重复N (1 ≤ N ≤ 500000)...
分类:
其他 时间:
2014-08-06 10:38:31
收藏:
0 评论:
0 赞:
0 阅读:
369
Python要想调用C语言写的动态连接库,不仅要兼容C接口的调用习惯,还需要兼容C语言的数据类型。幸运的是ctypes库已经做了这两方面的工作,以便调用动态连接库是非常方便的。在Hello World的程序里,这行代码编写如下:MessageBox = windll.user32.MessageBoxW从这行代码的简洁程度来看,是非常优美的。这种优美是由于ctypes库在背后做了非常多的工作,比如...
分类:
Windows开发 时间:
2014-08-06 10:38:21
收藏:
0 评论:
0 赞:
0 阅读:
438
Description
In a few months the European Currency Union will become a reality. However, to join the club, the Maastricht criteria must be fulfilled, and this is not a trivial task for the countries...
分类:
其他 时间:
2014-08-06 10:38:11
收藏:
0 评论:
0 赞:
0 阅读:
366
Inversion
Time Limit: 2000/1000 MS (Java/Others) Memory Limit:
131072/131072 K (Java/Others)
Problem Description
...
分类:
其他 时间:
2014-08-06 10:38:01
收藏:
0 评论:
0 赞:
0 阅读:
371
Description
Linda is a teacher in ACM kindergarten. She is in charge of n kids. Because the dinning hall is a little bit far away from the classroom, those n kids have to walk in line to the dinnin...
分类:
其他 时间:
2014-08-06 10:37:51
收藏:
0 评论:
0 赞:
0 阅读:
338
Description
Once upon a time, in the Kingdom of Loowater, a minor nuisance turned into a major problem.
The shores of Rellau Creek in central Loowater had always been a prime breeding ground for g...
分类:
其他 时间:
2014-08-06 10:37:41
收藏:
0 评论:
0 赞:
0 阅读:
369
经常在PLSQL Developer的SQL窗口编写各种语句,当需要保存这些语句时,可以另存为文本文件,也可以复制后粘贴到Word文件中,放在Word文件中的好处是语句保留原来的格式,可以清楚的区分关键字、常数等,不过当语句中包含汉字时,粘贴到Word中语句汉字却显示不出来...
分类:
数据库技术 时间:
2014-08-06 10:37:31
收藏:
0 评论:
0 赞:
0 阅读:
425
通过css样式,控制字段旋转一定角度...
分类:
Web开发 时间:
2014-08-06 10:37:21
收藏:
0 评论:
0 赞:
0 阅读:
375
Description
In the German Lotto you have to select 6 numbers from the set {1,2,...,49}. A popular strategy to play Lotto - although it doesn't increase your chance of winning - is to select a subse...
分类:
其他 时间:
2014-08-06 10:37:11
收藏:
0 评论:
0 赞:
0 阅读:
411
crm使用soap创建下拉框,crm创建下拉框...
分类:
其他 时间:
2014-08-06 10:37:01
收藏:
0 评论:
0 赞:
0 阅读:
400
C++
STL...
分类:
其他 时间:
2014-08-06 10:36:51
收藏:
0 评论:
0 赞:
0 阅读:
269
Nearest Common Ancestors
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 17818
Accepted: 9455
Description
A rooted tree is a well-known data structure in c...
分类:
其他 时间:
2014-08-06 10:36:41
收藏:
0 评论:
0 赞:
0 阅读:
456
这个我就直接上代码了,最开始把“abc123“也算作合法的了,后来查了一下atoi的定义,把这种去掉了。
public class Solution {
public static int atoi(String inStr) {
long result = 0L;
/*
* 网上查了一下,atoi函数的定义是如果第一个非空格字符存在,是数字或者正负号则开始做类型转换,
*...
分类:
其他 时间:
2014-08-06 10:36:31
收藏:
0 评论:
0 赞:
0 阅读:
344