2014-05-04 11:16 吴文付
工作上,学习上,肯定会碰到xml的操作。这里提供详细的xml解析方法。这里的规划如下:简单的布局3个按钮。3个按钮,对应3种解析xml的方法。分别为 sax解析
dom解析 pull解析
分类:
其他好文 时间:
2014-05-04 19:35:54
阅读次数:
329
----------------简 介-------------------------------
1.刚入博客园,起点颇低。 2.内容胜于界面。 3.专攻C#,后期发展C++ 4.本人愚钝,但用心学习----------------规
划-------------------------...
分类:
其他好文 时间:
2014-05-04 19:08:55
阅读次数:
387
从各个方面反馈回来的信息显示,随着蓝牙4.0BLE技术的进一步发展,蓝牙正在焕发第二春,最简单的例子,去国内的时间点名网看看便知分晓,里边有推出 女性体温贴、智能水杯、智能手环等,都内嵌着一颗蓝牙4.0的芯, 而目前用得最广价格也最便宜的, 就是TI 的cc2540 cc2541。
cc2540蓝牙整个芯片的成本非常低,如果是大批量采购,仅需1美元多。另外,SIG蓝牙技术联盟非常重...
分类:
其他好文 时间:
2014-05-04 12:43:37
阅读次数:
395
C代码实现如下: 1 #include 2 #include 3 4 int** DP(int
num, int Weight, int*w, int *v); 5 void output(int *c, int *w, int weight, int
**ptr, int num)...
分类:
其他好文 时间:
2014-05-04 10:09:07
阅读次数:
269
最长公共子序列经典问题,由于题的条件特殊,可转换成LIS问题,可在O(nlogn)内得到解决。根据刘汝佳大大的,加上自己的理解,不太理解的童鞋可以看一看(前提:已掌握LIS问题和LCS问题的解法)...
分类:
其他好文 时间:
2014-05-04 08:46:48
阅读次数:
339
本文出自:http://blog.csdn.net/svitter
括号匹配一:http://acm.nyist.net/JudgeOnline/problem.php?pid=2
括号匹配二:http://acm.nyist.net/JudgeOnline/problem.php?pid=15
之前被这个题目难住,现在看动态规划就顺便过来AC了它。结果发现当年被难住一点...
分类:
其他好文 时间:
2014-05-03 23:52:18
阅读次数:
408
题目:
Given a string S and a string T, count the number of distinct subsequences of T in S.
A subsequence of a string is a new string which is formed from the original string by deleting some (c...
分类:
其他好文 时间:
2014-05-03 21:48:19
阅读次数:
252
Tickets
Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)
Total Submission(s) : 4 Accepted Submission(s) : 2
Font: Times New Roman | Verdana | Georgia
Font Size: ←...
分类:
其他好文 时间:
2014-05-03 21:16:19
阅读次数:
360
Super Jumping! Jumping! Jumping!
Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)
Total Submission(s) : 6 Accepted Submission(s) : 5
Font: Times New Roman | Verdan...
分类:
其他好文 时间:
2014-05-03 16:47:07
阅读次数:
262
大致规划:主机IP描述VIP192.168.0.222对外提供高可用IPhaproxy+keepalived(node1)192.168.0.111haproxy为后端两台WEB服务的做动静分离;keepalived为haproxy做高可用。haproxy+keepalived(node2)192.168.0.112WEB(node3)192.168.0.113提供静态请求响应Apache+PHP+MySQL(node4)..
分类:
Web程序 时间:
2014-05-03 14:37:46
阅读次数:
610