随笔分类 - 算法研究
包括各类控制、数据结构算法等
摘要:冒泡法:Usingdirectives#regionUsingdirectivesusingSystem;usingSystem.Collections.Generic;usingSystem.Text;#endregionnamespaceBubbleSorter{publicclassBubbleSorter{publicvoidSort(int[]list){inti,j,temp;bool...
阅读全文
摘要:http://www.cnblogs.com/zhuweisky/archive/2005/10/16/255836.html 从武汉转战到广州,现在正在广州找工作,昨天看到某个公司招聘出的一道题目,题目是这样的:判断任意三个点是否构成三角形,以及某个点是否位于指定的三角形内。 关于这个问题,我给出了自己的答案,首先解决第一个问题: ///<summary>///IsTriangle...
阅读全文
摘要:王小云教授 默默无闻的王小云一鸣惊人,山东大学信息安全实验室一夜之间成为让世界注目的科研机构。 中国取得解码技术突破 美国称其密码系统遭破解 随着电子商务的发展,网上银行、网上合同、电子签名等的应用越来越广泛,网络已经成为我们生活中不可或缺的一部分。电子商务在给我们的工作生活带来便捷的同时,也存在着安全隐患。一直在国际上广泛应用的两大密码算法MD5、SHA-...
阅读全文
摘要:This is a slightly more advanced topic than what I have covered so far, but I think that it is useful. File I/O is reading from and writing to files. This lesson will only cover text files, that is, f...
阅读全文
摘要:#include "stdafx.h" #include #include #include using namespace std; void init(string ,string); void show(char [],int); int kmp(string ,string,int pos); void get_next(char*,int *); string s1,t1; int m,...
阅读全文

浙公网安备 33010602011771号