码迷,mamicode.com
首页 >  
搜索关键字:temp    ( 7776个结果
排序算法——插入排序
插入排序:逐个处理待排序的记录,每条记录与前面已排序的子列进行比较,将它插入到子序列的正确位置。 1 void InserionSort(int unsort[],const int count) 2 { 3 int i, j; 4 for (i = 1; i 0&&temp<uns...
分类:编程语言   时间:2015-03-11 21:32:13    阅读次数:140
根据table随时添加列
var newRow = ''+ ''+ ' '+ ''+ ''+temp[1]+''+ ''+temp...
分类:其他好文   时间:2015-03-11 12:31:50    阅读次数:118
vm文件
*.vm 后缀的文件,是velocity的文件。velocity是基于java的一种页面模板引擎,支持#if #else #foreach等写法的前台文件。$link.contextPath是该引擎支持的一种默认写法,可以取得应用程序执行根路径。Velocity是一个基于java的模板引擎(temp...
分类:其他好文   时间:2015-03-11 12:25:21    阅读次数:118
hdu 2019
Problem Description有n(nint main(){int n,m,i,j,temp,cnt;int str[101];while(scanf("%d%d",&n,&m)!=EOF){if(n==0 && m==0) return 0;else{for(i=0;i=m){cnt=i;...
分类:其他好文   时间:2015-03-11 10:31:23    阅读次数:93
hdu 2016
Problem Description输入n(nint main(){int n,i,temp,cnt,min;int str[100];while(scanf("%d",&n)!=EOF){if(n==0) return 0;else{for(i=1;i<=n;i++){scanf("%d",&s...
分类:其他好文   时间:2015-03-11 09:17:05    阅读次数:186
【C语言】最大公约数(更相减损法)和(辗转相除法)
#include #include /* 编写一个函数,传入a,b两个int类型的变量,返回两个值的最大公约数。 例如:输入传入(0 , 5)函数返回5,传入(10 , 9)函数返回1,传入(12 , 4)函数返回4 */ //更相减损法 int fuc(int m,int n) { int i=0,temp,x; while(m%2==0 && n%2==0) //判断m和n能被多...
分类:编程语言   时间:2015-03-10 23:11:40    阅读次数:175
hello.c
#include #include #include #include #include #include #include static DLGTEMPLATE input_temp = { WS_BORDER | WS_CAPTION, WS_EX_NONE, 0, 0, 640, 420, "...
分类:其他好文   时间:2015-03-10 18:42:34    阅读次数:118
Bag标签之把字符串按关键字放进书包
第一 第二 把字符串“第一”、“第二”分别按关键字we1、we2放进书包temp中,并把书包temp保存到会话中...
分类:其他好文   时间:2015-03-10 15:32:11    阅读次数:112
C# 中带@字符串中的转义符号
C#转义字符c#里 @ 表示的是:1、在C#中,"c:\\temp"表示路径是c:\temp; 而@"c:\temp"就表示c:\temp; 所以,@的作用就应该是忽略转义字符的作用. 2、如果字符串中有",则写成"";如:string aa=@"{ name:""name""}";3、在strin...
分类:Windows程序   时间:2015-03-10 13:43:55    阅读次数:173
poj 1207
继续水题#include int i,x,y,a,b,temp;int cycel(int i);int cycle(int i){ int j = 1; while( i != 1) { if(i%2) i = 3*i+1; el...
分类:其他好文   时间:2015-03-10 10:07:37    阅读次数:140
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!