紧接上节,DecodeIpPack()函数完成包的解析://IP包解析int DecodeIpPack(char *buf, int iBufSize){ IP_HEADER *pIpheader; int iProtocol, iTTL; char szProtocol[MAX_PROTO_TEX...
分类:
其他好文 时间:
2014-06-27 19:53:27
阅读次数:
149
1. 监控事例的等待 select event,sum(decode(wait_Time,0,0,1)) "Prev",sum(decode(wait_Time,0,1,0)) "Curr",count(*) "Tot" from v$session_Wait group by event orde...
分类:
数据库 时间:
2014-06-27 19:18:03
阅读次数:
273
大意:给一个数组,先求出SUM[I],然后动态的求出1-I的SUM[I]的和, 这题得化公式: 树状数组维护两个和:SUM(A[I])(1#include#include#includeusing namespace std;typedef long long ll;const int N=...
分类:
其他好文 时间:
2014-06-27 17:53:38
阅读次数:
141
目前文档文库上传大小是读取服务器的PHP环境的设置,你们的PHP环境上传限制是多少,这里显示的就是多少。很多用户问我如何修改上传大小,自己可以百度一下方法,也可以根据以下步骤修改:1.找到服务务器上的php.ini文件,一般在PHP安装目录下。2.在php.ini文件中搜post_max_size,...
分类:
Web程序 时间:
2014-06-27 17:22:25
阅读次数:
277
1 SELECT 2 col.name AS 列名, 3 typ.name as 数据类型, 4 col.max_length AS 占用字节数, 5 col.precision AS 数字长度, 6 col.scale AS 小数位数, 7 col.is_nu...
分类:
数据库 时间:
2014-06-27 16:39:34
阅读次数:
291
Given a triangle, find the minimum path sum from top to bottom. Each step you maymove to adjacent numbers on the row below.For example, given the fol....
分类:
其他好文 时间:
2014-06-27 16:29:58
阅读次数:
188
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array[?2,1,?3,4,?1,2,1,...
分类:
其他好文 时间:
2014-06-26 15:10:47
阅读次数:
168
今天居然没参考任何资料解决了这道数位DP,事先只是搞一道数论题练练;思路:求SUM[1]-SUM[N]的二进制的乘积mod1000000007; N#include#include#includeusing namespace std;#define N 10000007typedef long.....
分类:
其他好文 时间:
2014-06-26 15:09:30
阅读次数:
221
解决方法:resize: none;或者:max-width:300px;max-height:300px;width:300px;height:300px;
分类:
其他好文 时间:
2014-06-26 12:27:35
阅读次数:
194