//页面加载时的 Loading 效果 $(window).load(function () { window.setTimeout(function () { $('body').removeClass('loading'); }, 1000...
分类:
其他好文 时间:
2015-08-14 11:29:20
阅读次数:
110
http://poj.org/problem?id=3667宾馆有n个房间编号1到n都为空房,然后m个询问,当输入第一个为1的时候,代表要住进x个连续的房间,输入房间号最小的数,如果没有输出0.当第一个数为2的时候,将从x号到y号的房间又变为空房,没有输出与区间有关想想用线段树可不可以解决,就像是涂...
分类:
其他好文 时间:
2015-08-14 11:28:08
阅读次数:
134
1.关闭诊断工具vs2015在程序启动之后,自带了内存和cpu使用情况查看的诊断工具。不喜欢这个,直接点击诊断工具右上角的关闭按钮2.解决方案资源管理器程序启动之后,解决方案资源管理器,被收缩到右侧了强制show出来,然后用钉子钉住3.git使用的时候,需要添加针对.vs的忽略vs2015能够自动针...
分类:
其他好文 时间:
2015-08-14 11:28:26
阅读次数:
143
今天附带printf一些替代实现。转载请注明出处:http://blog.csdn.net/u010484477谢谢^_^我们总是用printf做各种输出语句:printf("%d",i);printf("%s",str); printf("I'm xingyanhong\n");今天偶然看到了这样...
分类:
其他好文 时间:
2015-08-14 11:28:05
阅读次数:
106
拓朴异构酶(英语:Topoisomerase;type I:EC5.99.1.2,type II:EC5.99.1.3)是一种异构酶,能使DNA长链断裂与接合。专门参与DNA拓扑构形(DNA topology)改变的过程,最早的发现者是出身台湾的生化学家王倬[1]。目录[隐藏]1拓扑问题2功能3分类...
分类:
其他好文 时间:
2015-08-14 11:27:04
阅读次数:
154
1.特点:控制对单个对象的访问。2.概念:为其它对象提供一种代理以控制对这个对象的访问。3.类图:4.程序实现:/// /// 抽象实体,定义真实实体与代理的公共接口 /// public interface ISubject { void Function...
分类:
其他好文 时间:
2015-08-14 11:28:33
阅读次数:
111
1.特点:在初始化信息不发生变化时考虑。2.概念:通过复制一个已经存在的实例来创建一个新的实例。被复制的实例被称为原型,这个原型是可定制的。3.类图:4.程序实现:/// /// 实现了ICloneable接口的简历类 /// public class Resume:IClon...
分类:
其他好文 时间:
2015-08-14 11:28:29
阅读次数:
147
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication2{ class...
分类:
其他好文 时间:
2015-08-14 11:26:08
阅读次数:
117
John Doe has a crooked fence, consisting ofnrectangular planks, lined up from the left to the right: the plank that goesi-th(1?≤?i?≤?n)(from left to r...
分类:
其他好文 时间:
2015-08-14 11:24:57
阅读次数:
111
看到一篇超赞的文章,原链接:http://www.cnblogs.com/armyfai/p/3985660.htmlSVN简介:为什么要使用SVN?程序员在编写程序的过程中,每个程序员都会生成很多不同的版本,这就需要程序员有效的管理代码,在需要的时候可以迅速,准确取出相应的版本。Subversio...
分类:
其他好文 时间:
2015-08-14 11:25:57
阅读次数:
165
前言iOS8和iPhone6发布已经过去蛮久了,广大的果粉终于迎来了大屏iPhone,再也不用纠结为大屏买三星舍苹果了…但是对于iOS开发人员来说,迎来了和Android开发开发一样的问题—>各种屏幕的适配(是不是可以要求加工资的节奏).对于适配,网传各种有关Size Class的论点,前段时间太忙...
分类:
其他好文 时间:
2015-08-14 11:24:15
阅读次数:
143
因项目需要在dialog中添加滚动条,所以就在div中加了iframe:1 2 4 View Code在iframe加载的子页面中用如下代码可以实现关闭弹窗:1 parent.$("#applyRefundDialog").dialog("cl...
分类:
其他好文 时间:
2015-08-14 11:23:21
阅读次数:
185
题意:有一些人,每人拿一个号码,有两个门,门的值分别为A和B,要求把人分成两堆(可以为空)一堆人手持号码之和的数字根若等于A或者B就可以进入A门或者B门,要求两堆人分别进入不同的门,求有几种分配方式,如果A和B的值相等则算两种。解法:dp。比赛的时候并不知道一个数%9+1就是数字根……煞费苦心的算了...
分类:
其他好文 时间:
2015-08-14 11:23:43
阅读次数:
131
Given an array ofnintegers wheren> 1,nums, return an arrayoutputsuch thatoutput[i]is equal to the product of all the elements ofnumsexceptnums[i].Solv...
分类:
其他好文 时间:
2015-08-14 11:22:00
阅读次数:
136
一,相关函数接口1,setjmp,longjmp,sigsetjmp,siglongjmp #include int setjmp(jmp_buf env); int sigsetjmp(sigjmp_buf env, int savesigs); //savesigs非0时,在env中保存...
分类:
其他好文 时间:
2015-08-14 11:22:14
阅读次数:
119
题目要求:Download the text filehere. (Right click and save link as).The goal of this problem is to implement a variant of the 2-SUM algorithm (covered in ...
分类:
其他好文 时间:
2015-08-14 11:22:36
阅读次数:
222
注意:datagrid调用getChecked或getSelected之后,然后loadData清空数据、重新加载数据,这个时候getChecked、getSelected还是保留着上次选择数据的值要想实现第一次选择数据并操作后,然后重新过滤数据重新选择,就需要在第二次加载数据前调用datagri....
分类:
其他好文 时间:
2015-08-14 11:22:04
阅读次数:
111