Given a linked list, return the node where the
cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it
without using extra space?首先不...
分类:
其他好文 时间:
2014-05-09 10:42:09
阅读次数:
329
UTL_DBWS - Consuming Web Services in Oracle 10gIn a
previous article I presented a method for Consuming Web Services using a basic
SOAP implementation...
分类:
数据库 时间:
2014-05-09 05:16:54
阅读次数:
466
Sort a linked list using insertion sort.
链表的插入排序,其实有2种特殊情况: 1、插入的值插入到已排序的末尾。 2、插入的值插入到已排序的最前端。 主要设置了3个指针。
1、pStart是已排序链表的开始位置。 2、pInsert是待插入的位置。 3、pEn...
分类:
其他好文 时间:
2014-05-09 05:16:22
阅读次数:
327
最近学习要求做网络编程,使用从网上找了一些资料,主要是网络协议的分层等通讯,你可以查看英文版的资料:CScharp网络编程英文版下面直接给出代码吧,我想一看应该就懂。TCP
Client 代码:using System;using System.Collections.Generic;using S...
分类:
其他好文 时间:
2014-05-09 04:50:07
阅读次数:
507
开源分享最近一个客户要做一个将数据直接输出到指定格式的Excel模板中,略施小计,搞定其中包含了对Excel的增行和删行,打印预览,表头,表体,表尾的控制using
System;using System.Collections.Generic;using System.Linq;using Sys...
分类:
其他好文 时间:
2014-05-09 04:33:07
阅读次数:
495
如果只是简单的处理的话,只需要引用下载压缩包里的NPOI.dll (office
2003)或NPOI.OOXML.dll(office 2007) 文件而已。 1 using System; 2 using
System.Collections.Generic; 3 using System.Li...
分类:
其他好文 时间:
2014-05-09 04:29:08
阅读次数:
324
划分树模板题,敲上模板就ok了。
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define MP make_pair
#define LL long long
#define CLR(a, b) memset(a, b, sizeof(a))
using n...
分类:
其他好文 时间:
2014-05-08 17:29:39
阅读次数:
398
sharepoint学习笔记汇总
http://blog.csdn.net/qq873113580/article/details/20390149
protected void Button1_Click(object sender, EventArgs e)
{
using (SPSite site = new SPSite("http:...
分类:
其他好文 时间:
2014-05-08 17:13:44
阅读次数:
254
题目链接:点击打开链接
题意:
给定一个字符串str 求字符串str的
循环节个数为 1-len 个的
最长子串长度
思路:套用kmp的性质
#include
#include
#include
using namespace std;
#define n 1300
void getnext(char str[n],int next[n]){
int m=strlen(str);...
分类:
其他好文 时间:
2014-05-08 17:12:53
阅读次数:
330
题目:
链接:http://acm.hdu.edu.cn/showproblem.php?pid=1686
题意:
输入t,是测试组数。每组测试,依次输入 字符串s1和s2。求出s2中s1的个数,可以有重叠。
思路:
KMP算法。
代码:
#include
#include
#include
using namespace std;
char s1[1001...
分类:
其他好文 时间:
2014-05-08 15:55:31
阅读次数:
285