自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 题目分类

最短路径 2544 1874 2066

2010-11-22 22:23:00 826

原创 kernel ipv4/ip_output.c

static inline int ip_finish_output2(struct sk_buff *skb){ struct dst_entry *dst = skb->dst; struct rtable *rt = (struct rtable *)dst; struct hh_cache *hh = dst->hh; struct net_device

2012-06-13 14:02:34 1159

转载 c语言 读取当前时间

#include #include void main (){ time_t rawtime; struct tm * timeinfo; time ( &rawtime ); timeinfo = localtime ( &rawtime ); printf ( "%4d-%02d-%02d %02d:%02d:%02d\n",1900+timeinfo->tm_year,

2011-12-23 23:44:17 384

原创 delphi 总结

1.单元文件  p11(1)单元头 unit xxx(2)接口部分:从interface开始,到implementation之前结束。有uses、type、var等语句。(3)实现部分:以implementation开始。(4)初始化部分:以initialization开始。(5)结束部分:以finalization开始。unit Unit1;interfaceus

2011-12-15 15:27:03 1056

转载 为什么需要PKI?

http://blog.sina.com.cn/s/blog_45288d2b010088uw.html随着电子商务的迅速发展,信息安全已成为焦点问题之一,尤其是网上支付和网络银行对信息安全的要求显得更为突出。为了能在因特网上开展安全的电子商务活动,公开密钥基础设施(PKI, Public Key Infrastructure)逐步在国内外得到广泛应用。我们是否真的需要PKI,PK

2011-12-15 12:37:26 1049

转载 批处理命令

http://www.77169.com/AD/4zhounian/1.html1.  >>追加文件  >新建文件ping sz.tencent.com > a.txtping sz1.tencent.com >> a.txtping sz2.tencent.com >> a.txtexit2.    ::这个命令的作用很简单,它是注释命令.

2011-12-09 14:47:15 235

转载 sql语法

1.模糊查询SELECT * FROM mytable WHERE u_name LIKE '%01%'2.创建视图create view stu_mjasselect student.NO,student.NAME,student.SEX,student.BIRTHDAY,student.MEMBER,major.MAJORfrom student,major

2011-12-08 15:43:52 242

转载 python 经验

1. list 去除重复http://python.u85.us/viewnews-6.htmll1 = ['b','c','d','b','c','a','a']l2 = [][l2.append(i) for i in l1 if not i in l2]print l22.中文gbk字符 正则匹配re.findall(r'[

2011-12-05 17:36:50 255

转载 SVM入门(一)至(三)Refresh

http://www.blogjava.net/zhenandaci/archive/2009/02/13/254519.html按:之前的文章重新汇编一下,修改了一些错误和不当的说法,一起复习,然后继续SVM之旅.(一)SVM的八股简介支持向量机(Support Vector Machine)是Cortes和Vapnik于1995年首先提出

2011-11-29 10:26:44 477

转载 利用网络资源,查找图书馆看不到的完整文献,科学选题

在校的硕士、博士必须充分利用网络资源,来提高科研和论文水平。尤其进入博士阶段的人,在博士论文选题、撰写科研文章都离不开查阅资料,海选资料,择优参考,开阔思路。有时在图书馆查到的资料,因为学校未购买,查不到整篇文献,就必须利用其它手段来协助自己查到整篇文献。1. 论文工作工

2011-10-09 22:49:16 2090

转载 中文计算机核心期刊排名及投稿信息

计算机核心期刊排名及投稿信息 文章分类:IT生活 1    计算机学报    北京    中国计算机学会等 2    软件学报    北京    中国科学院软件研究所 3    计算机研究与发展    北京    中国科学院计算技术研究所等 4    自动

2011-10-09 20:39:26 9262

转载 SCI影响因子 - 2011年 (分类SCI影响因子)

http://2011.yingxiangyinzi.com/

2011-10-09 20:33:46 661

转载 如何发表高水平论文

http://blog.csdn.net/chl033/article/details/4807386SCI索引 SCI(科学引文索引,英文全称Science Citation Index)是美国科学情报研究所(Institute for Scientific Inf

2011-10-09 20:21:06 488

转载 Computer Science Conference Rankings

Computer Science Conference RankingsDISCLAIMER:The ranking of conferences are taken mostly from an informal external s

2011-10-09 20:16:30 541

转载 对IEEE和SCI等的通俗简介

电子类学生大都知道IEEE, 这个IEEE就像一个大的BBS论坛,而这个协会下面有很多杂志,比如图像处理,信号处理,微波技术等。这些杂志就是论坛下的分版面。每个版面有版主(主编),版副(副主编)等职务。     大学里的教授负责组织人力在IEEE灌水。教授灌的水被别的

2011-10-09 20:09:00 383

转载 python+正则表达式

本文http://blog.csdn.net/whycadi/article/details/2011046http://www.cnblogs.com/huxi/archive/2010/07/04/1771073.html1.  Python正则式的基

2011-10-06 20:06:47 534

转载 Eclipse中如何快速添加、删除jar包

http://blog.csdn.net/huzhyi21/article/details/4543944

2011-07-15 17:28:52 3244

原创 1162 最小生成树 prim 从0开始

#include #include #include #define _clr(a) memset(a,0,sizeof(a))#define pow2(a) ((a)*(a))#define N 101#define INF 0x7ffffffbool mar

2011-07-10 16:39:38 313

原创 1671 字典树

链表实现 328MS#include #define N 10struct Node{ Node *next[N]; bool vis;//字符串的结束 最后一个字符 void init() { vis=0;

2011-07-07 15:44:51 219

原创 1575 矩阵乘法

#include #include #define M 9973#define N 10#define MAX 30int n;int sz[N][N];void init(int a[N][N]){ int i,j; for (i=0;i

2011-07-04 16:11:21 332

原创 随机测试数据

#include #include #include #define N 100#define random(m) (rand()%m) int main () { freopen("1.txt","w",stdout); srand((int)time(0)); int n=10; printf("

2011-06-30 18:07:00 278

原创 gcd

int gcd(int a,int b){ int r; while(a%b) { r=a%b; a=b; b=r; }} int gcd(int a,int b){ if (a<b) return gcd(b,a); else if (a%b==0) re

2011-06-29 16:12:00 247

转载 文件输出 换行

java中写.txt文件,实现换行的几种方法: 1.使用java中的转义符"/r/n":  String str="aaa"; str+="/r/n";   这样在str后面就有换行了.  注意:/r,/n的顺序是不能够对换的,否则不能实现换行的效果. 2.BufferedWriter的newline()方法:  FileOutputStr

2011-06-12 18:08:00 573

原创 unhandled exception filenotfoundexception 文件输出

如果不写try catch就会出现unhandled exception filenotfoundexception这个错误import java.io.FileOutputStream;public class test{ public static void main(String args[ ]) { String s="123456";

2011-06-12 17:15:00 3729

原创 1063 JAVA大数阶乘

import java.math.*;import java.util.*;public class Main { public static void main(String[] args) { BigDecimal a,c; int b; Scanner cin=new Scanner(System.in); while(cin.hasNextBigDecimal()) { a=cin.nextBigDecimal(); b=cin.n

2011-04-15 17:25:00 289

原创 1002 Java大数加法

import java.math.*;import java.util.*;public class Main { public static void main(String[] args) { int n,i; BigInteger a,b,c; Scanner cin=new Scanner(System.in); n=cin.nextInt(); for (i=1;i

2011-04-15 16:49:00 420

原创 9 Incredible HTML5 Canvas And Javascript Experiments

http://www.cnblogs.com/lhb25/archive/2011/04/07/1965738.htmlhttp://www.cnbeta.com/articles/151843.htm http://www.cnbeta.com/ar

2011-04-12 14:29:00 217

转载 十大数字决定IT人的健康

<br /><br />体检时,化验单上的一堆数值,总让你看得“云里雾里”。而无论是手机号码,还是银行卡密码,你却能背得滚瓜烂熟。其实,与身体有关的一些数字值得一生牢记。日前,美国《真简单》杂志发表了各科名医整理出的一组与健康有关的最完美指标,供IT精英们参考。<br /><br /><br />1.血压:<120/80毫米汞柱。<br />美国克利夫兰专业女性健康中心主任霍利·萨克博士表示,血压较低者更健康。血压达到或超过140/90毫米汞柱,就被视为高血压。最厉害的“杀手”往往“杀人于无形”,高血压也是

2011-04-11 22:00:00 495

原创 随机生成图 测试最短路

<br />#include <stdio.h> #include <stdlib.h> #include <string.h>#define _clr(a) memset(a,0,sizeof(a))#include <time.h> #define random(m) (rand()%m) #define N 100int map[N][N]; int main () { //freopen("3255.txt","w",stdout);

2011-04-09 18:49:00 615

原创 1392 凸包模板

#include #include #include using namespace std;#define N 101#define INF 0x7ffffffstruct T{ double x,y;}t[N],stack[N];double Mul(T p1,T p2,T p3)//叉积{ return (p2.x-p1.x)*(p3.y-p1.y)-(p3.x-p1.x)*(p2.y-p1.y);//3点逆时针旋转时为正}double dis(

2011-03-31 15:40:00 267

原创 全组合 全排列

全组合#include #include #include int main (){ int a[10]={1,2,3},n=3; int mark[10]={0}; int i,j; for (i=0;i

2011-03-24 16:16:00 477

原创 Operating System

1. What is the difference between trap and interrupt?A:An interrupt is a hardware-generated event, usually caused by an I/O device requesting service. The interrupt signal causes a change of °ow within the system: an interrupt service routine (ISR) saves t

2011-03-03 15:26:00 367

原创 动态申请二维数组

<br />#include <iostream.h>void main(){int **arr; int N,M; cin >> N >> M; arr = new int*[N]; for(int i=0;i<N;i++){ arr[i] = new int[M]; } for(i=0;i<N;i++){ for(int j=0;j<M;j++) { arr[i][j]=2; cout<<arr[i][j]<<"

2011-02-16 16:17:00 230

原创 1233 最小生成树 prim 从1开始

#include #include #define N 101#define INF 0x7ffffffint map[N][N];bool mark[N];int path[N];//mark过点集合到未mark过点i的最短距离int n;int Min (in

2011-02-14 17:08:00 298

原创 mfc

1.brush 窗口颜色    #define WHITE_BRUSH 0    #define LTGRAY_BRUSH 1    #define GRAY_BRUSH 2    #define DKGRAY_BRUSH 3    #define BLACK_BRUSH 4    #define NULL_BRUSH 5    #define HOLLOW_BRUSH NULL_BRUSH

2011-01-22 17:43:00 839

转载 _stdcall _cdecl fastcall 调用方式详解

<br />在C语言中,假设我们有这样的一个函数: int function(int a,int b) 调用时只要用result = function(1,2)这样的方式就可以使用这个函数。但是,当高级语言被编译成计算机可以识别的机器码时,有一个问题就凸现出来:在CPU中,计算机没有办法知道一个函数调用需要多少个、什么样的参数,也没有硬件可以保存这些参数。也就是说,计算机不知道怎么给这个函数传递参数,传递参数的工作必须由函数调用者和函数本身来协调。为此,计算机提供了一种被称为栈的数据结构来支持参数传递。 栈

2011-01-18 22:11:00 277

原创 派生类的继承

Public Public Protected------>publicProtectedprivate-----------Public ProtectedProtected--->ProtectedProtectedprivate-----------Public privateProtected--->privateprivateprivate-----------

2011-01-16 20:24:00 245

原创 POJ 1273 Edmonds_Karp

#include #include #define N 202#define INF 0x3fffffff#define _cls(a) memset(a,0,sizeof(a))int f[N][N];//current flowint c[N][N];//capacityint mark[N];// 0 -1 1 搜索过int vis[N];//标记过int prev[N];//前继int d[N];//当前增加的flowint qu[N];//BFS qu

2011-01-14 21:33:00 328

原创 1025 最大递增子序列+二分 nlogn

#include#define N 500001int a[N],b[N];int main (){ //freopen("1025.txt","r",stdin); int i,n,x,y,c=1,len,low,high,mid; while(scanf("%d",&n)!=EOF) { for (i=0;i>1; if (b[mid]len-1) len++; }

2011-01-08 21:09:00 325

原创 改颜色

<br />system("color 70");<br />颜色属性由两个十六进制数字指定 -- 第一个为背景,第二个则为<br />前景。每个数字可以为以下任何值之一:<br /><br />    0 = 黑色       8 = 灰色<br />    1 = 蓝色       9 = 淡蓝色<br />    2 = 绿色       A = 淡绿色<br />    3 = 浅绿色     B = 淡浅绿色<br />    4 = 红色       C = 淡红色<br />    5 = 紫

2010-12-23 10:23:00 263

空空如也

空空如也

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

TA关注的人

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