自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

转载 SMTP协议分析

转自 :http://blog.csdn.net/bripengandre/article/details/2191048 SMTP协议分析 第1章.     SMTP概述 1.1.  SMTP在邮件通信中的位置 SMTP,即简单邮件传送协议,所对应RFC文档为RFC821。同http等多数应用层协议一样,它工作在C/S模式下,用来实现因特网上的邮件传送。SMTP在整个电子邮件

2013-08-31 01:42:18 1749

转载 再谈互斥锁与条件变量!

转自 http://blog.chinaunix.net/uid-27164517-id-3282242.html pthread_cond_wait总和一个互斥锁结合使用。在调用pthread_cond_wait前要先获取锁。pthread_cond_wait函数执行时先自动释放指定的锁,然后等待条件变量的变化。在函数调用返回之前,自动将指定的互斥量重新锁住。 int p

2013-08-28 00:19:10 383

原创 打印重复的元素_要求O(M + N)

// 打印重复的元素_要求O(M + N).cpp : Defines the entry point for the console application. // //数组有N+M个数字, 数字的范围为1 ... N, 打印重复的元素, 要求O(M + N), #include "stdafx.h" int Array[] = {3,4,8,1,2,9,8,5,7,6,10,6,4};

2013-08-10 00:11:15 1220

原创 Word Break Problem 动态规划

// Word Break Problem.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include #include using namespace std; int dictionaryContains(string word) { string dic

2013-08-09 17:43:12 914

原创 找出最长连续子序列,要求最多很有3个不同的数

// 找出最长连续子序列,要求最多很有3个不同的数.cpp : Defines the entry point for the console application. // /* Given an array of n numbers with repetition of numbers. You need to find the max length of continuous sub ar

2013-08-08 23:58:48 807

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除