03 2012 档案

摘要:最早写冒泡排序是在上学的时候,用c语言实现的,工作后再也没写过这个无用的算法,然后见网上很多人执着于这个算法,甚至用他来评价一个程序员的素质,于是乎试着用C#写了一遍。程序中的后三行注释用于避免对已排序好的数组进行重复排序usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;namespaceBubbleSortCSharp{classProgram{staticvoidMain(string[]args){int[]arr={18,3,8,2,7,9,9,9,5,11,1,10,30,20} 阅读全文
posted @ 2012-03-14 15:54 zyip 阅读(197) 评论(0) 推荐(0) 编辑
摘要:http://www.microsoft.com/china/community/Column/26.mspxhttp://blog.csdn.net/babyt/article/details/100989# 阅读全文
posted @ 2012-03-02 12:18 zyip 阅读(128) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示