摘要:
import randomimport datetimeimport copydef bubbleSort(data): l1 = len(data)-1 for i in xrange(l1,0,-1): for j in xrange(i): if(data[j]>data[j+1]): data[j],data[j+1] = data[j+1],data[j]def selectionSort(data): l = len(data) l1 = l-1 for i in xrange(l1):... 阅读全文
摘要:
#Timing test for "sort on fourth word"#Specifically,two lines>=4 words will be sorted#lexographically on the 4th,5th,etc..words#Any line with fewer than four words will sorted to # the end ,and will occur in "natural" orderimport sys,string,timewrerr = sys.stderr.write#native 阅读全文
摘要:
开发者能利用开发模块来扩展DNN的功能。DNNModules provide developers with the ability to extend the functionality of DotNetNuke. DotNetNuke provides a pluggable framework that can be expanded by the development of modul... 阅读全文