码迷,mamicode.com
首页 >  
搜索关键字:shell sort    ( 40632个结果
排序算法之stooge排序
stooge排序是一种递归排序算法,这种排序算法不仅慢于一般的有效排序算法(如:插入排序,合并排序,堆排序和快速排序),甚至慢于冒泡排序。是一种简单但低效的排序算法。...
分类:其他好文   时间:2014-06-07 01:26:17    阅读次数:173
CentOS Linux Install Core Development
How do I install all developer tools such as GNU GCC C/C++ compilers, make and others, after installing CentOS from a shell prompt?you can following the nest line do ,install almost all development to...
分类:系统相关   时间:2014-06-07 01:23:47    阅读次数:317
LeetCode: Sort Colors [075]
【题目】 Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, white and blue. Here, we will use the integers 0, 1, and 2 to represent the color red, white, and...
分类:其他好文   时间:2014-06-07 01:17:49    阅读次数:269
执行 CMD 时,参数加引号常见问题
在调用 CMD 时,如脚本中用 WScript.Shell 调用。 如果参数中有包含空格的长路径名时,必须要加引号才能正确被识别。 是的,大家都知道要加引号,但怎么加却容易被误解。这个问题,不时地会遇上,上次弄清楚了,但隔一段时间,还是忘了,同样的问题又要重新摸索,非常痛苦。 如: Set objShell = WScript.CreateObject("WScript...
分类:其他好文   时间:2014-06-05 11:54:12    阅读次数:430
排序算法之冒泡排序
冒泡排序法是一种经典的、入门级的排序算法。它重复地遍历整个数组,对数组的元素进行两两比较,如果两数的顺序有误,则将两数字交换。 由于在比较的过程中,最小的数先变换到数列的顶端,其次是第二小的数……直至所有数字完成排序,因而得名冒泡排序。...
分类:其他好文   时间:2014-06-05 11:39:09    阅读次数:194
adb shell input的用法
最近做LCD模组的gamma自动化测试过程中用到了input命令,于是也来了解一下该命令的使用。在运行adb shell 后输入input后运行就会输出input的使用方法,如下: Usage: input [] [...] The sources are:       trackball       joystick       touchnavigation...
分类:数据库   时间:2014-06-05 10:55:38    阅读次数:274
chrome的ssh客户端插件-- secure shell
强大的chrome中的插件中实现的ssh客户端...
分类:其他好文   时间:2014-06-05 09:19:55    阅读次数:245
HDU 1890 Robotic Sort 伸展树的区间反转与延迟标记
延迟标记像极了线段书,不再多说。 区间反转在树伸展到位之后,也变成了简单的递归交换左右儿子。 愈发感觉到伸展树简直太漂亮了,伸展操作更是诱惑到不行 ,总之数据结构太有魅力了。 比较简单,就直接上模板了。 #include #include #include #include #include #include #include #include #include #pr...
分类:其他好文   时间:2014-06-05 08:33:14    阅读次数:190
shell编程教程or学习笔记
----------------------------------------------------hello world------------------------------------------- linux 创建如下文件 vim hello #! /bin/bash   //告诉Shell 使用哪个Shell 程序 #Display  a line    //#表示...
分类:其他好文   时间:2014-06-05 02:41:41    阅读次数:393
Adb shell获取root权限
在Adb shell中我们希望使用一些系统目录下的文件时候,常常痛苦于没有Root权限,系统会提示su: Permission Denied。 su不是每个手机都有的,没有的可以在这里下载:...
分类:数据库   时间:2014-06-05 01:01:58    阅读次数:493
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!