码迷,mamicode.com
首页 >  
搜索关键字:selection    ( 1319个结果
22个必须知道的css技巧
1、改变选中文字的背景和颜色::selection{ /* Safari and Opera */ background:#c3effd; color:#000;}::-moz-selection{ /* Firefox */ background:#c3effd; colo...
分类:Web程序   时间:2014-10-10 20:42:04    阅读次数:279
选择排序算法
选择排序(Selection sort)是一种简单直观的排序算法。它的工作原理如下。首先在未排序序列中找到最小(大)元素,存放到排序序列的起始位置,然后,再从剩余未排序元素中继续寻找最小(大)元素,然后放到已排序序列的末尾。以此类推,直到所有元素均排序完毕。本文地址:http://www.cnblo...
分类:其他好文   时间:2014-10-09 15:03:23    阅读次数:190
word 批量修改表格格式
For i = 1 To ActiveDocument.Tables.Count ActiveDocument.Tables(i).Cell(1, 1).Select With Selection .SelectRow .Font.Bold = True .Shading.BackgroundPat...
分类:其他好文   时间:2014-10-09 14:37:13    阅读次数:209
普林斯顿大学算法课 Algorithm Part I Week 3 求第K大数 Selection
通过快速排序的分区思想求第K大数
分类:其他好文   时间:2014-10-02 14:06:22    阅读次数:178
EF selection expression 与 Linq备忘
一、左连接查询 var query = people.GroupJoin(pets, person => person, pet => pet.Owner, (person, petCollection) => ...
分类:其他好文   时间:2014-09-30 19:10:49    阅读次数:150
选择排序
Selection Sort选择排序The idea of the selection sort is to find the smallest element in the list and exchange it with theelement in the first position. Th...
分类:其他好文   时间:2014-09-25 19:44:07    阅读次数:223
js获取鼠标选中的文字
1、获取选中的文字:document.selection.createRange().text; IE9以下使用window.getSelection().toString(); 其他浏览器使用$('p').mouseup(function(){ var txt = window.getSel...
分类:Web程序   时间:2014-09-23 20:25:05    阅读次数:276
选择排序 Selection Sort
Selection Sort
分类:其他好文   时间:2014-09-22 12:20:22    阅读次数:172
EditText中光标的位置设置
CharSequencetext=userName.getText(); if(textinstanceofSpannable){ SpannablespanText=(Spannable)text; Selection.setSelection(spanText,text.lengt...
分类:其他好文   时间:2014-09-21 19:47:31    阅读次数:196
Selection Problem (选择问题)
在一个由n个元素组成的集合中,第i个“顺序统计量(order statistic)”是该集合中第i小的元素。例如,在一个由n个元素组成的集合中,最小值是第1个顺序统计量,最大值是第n个顺序统计量。而“中位数(median)”总是出现在low((n+1)/2)或者high((n+1)/2)处,其中.....
分类:其他好文   时间:2014-09-16 20:31:01    阅读次数:250
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!