码迷,mamicode.com
首页 >  
搜索关键字:adjust    ( 381个结果
用c实现的各种排序的方法
#include void swap(int *a, int *b); void bubble_sort(int a[], int n); void select_sort(int a[], int n); void insert_sort(int a[], int n); void shell_sort(int a[], int n); void heap_adjust(int a[], i...
分类:编程语言   时间:2015-12-18 14:49:44    阅读次数:201
Swift -- 结构体、类、枚举继承protocol协议
protocol Example{ var simpleDescription:String{get} mutating func adjust()}// 类继承协议class Simple:Example{ var simpleDescription = "Sing" func adjus...
分类:编程语言   时间:2015-12-17 00:22:22    阅读次数:239
堆排序
堆排序利用到完全二叉树的有关知识,时间复杂度O(nlogn)#include#include#include#includeusing namespace std;const int MAX_A = 100009;//使1到n元素为最大堆void Adjust(int a[],int i,int n...
分类:编程语言   时间:2015-12-14 20:58:06    阅读次数:143
Swift -- protocol、extension
protocol ExampleProtocol{ var simpleDescription:String{get} mutating func adjust()}class SimpleClass:ExampleProtocol{ var simpleDescription:String ...
分类:编程语言   时间:2015-12-08 00:23:44    阅读次数:193
CSS属性值一览
牢记内联式>嵌入式(嵌入式中设置各种文字字体、大小、位置、颜色、外距、内距最好用选择器)>外部式(外联式)的使用属性和属性值font-family(字体) Microsoft Yahei||微软雅黑宋体ArialTimes New Romanfont-size-adjust:修改字体怎么可以使文字大...
分类:Web程序   时间:2015-11-25 13:32:49    阅读次数:168
函数buf_LRU_old_adjust_len
调整LUR_old位置,放到八分之五位置,是新的,后八分之三是旧的512个页全变成新的,然后从后往前数,数到8分之3,设置为旧的/*******************************************************************//**Moves the LRU_...
分类:其他好文   时间:2015-11-24 22:04:06    阅读次数:171
light oj 1066Gathering Food (bfs 稍微有点小坑)
1066 - Gathering FoodWinter is approaching! The weather is getting colder and days are becoming shorter. The animals take different measures to adjust...
分类:其他好文   时间:2015-11-16 19:05:06    阅读次数:190
normalize.css
/*! normalize.css v3.0.1 | MIT License | git.io/normalize *//*** 1. Set default font family to sans-serif.* 2. Prevent iOS text size adjust after orie...
分类:Web程序   时间:2015-11-02 11:58:35    阅读次数:233
iPhone 横屏变大和一些meta标签解释
前言:在手机端的H5页面中,如果横屏后在竖屏,会发现字体变大了。这种情况只有在iPhone中会有,安卓不会出现。解决办法:body{ -webkit-text-size-adjust : none; -moz-text-size-adjust : none; -ms-text-size-ad...
分类:Web程序   时间:2015-10-30 12:27:10    阅读次数:233
android:windowSoftInputMode属性详解
android:windowSoftInputModeactivity主窗口与软键盘的交互模式,可以用来避免输入法面板遮挡问题,Android1.5后的一个新特性。这个属性能影响两件事情:【一】当有焦点产生时,软键盘是隐藏还是显示【二】是否减少活动主窗口大小以便腾出空间放软键盘它的设置必须是下面列表中..
分类:移动开发   时间:2015-10-19 12:51:55    阅读次数:185
381条   上一页 1 ... 26 27 28 29 30 ... 39 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!