码迷,mamicode.com
首页 >  
搜索关键字:code    ( 108667个结果
C语言 反序打印字符串中的单词
int main() { char *str = "see you later"; int r = strlen(str); char * p = str; int a= 0; while(*str++!='\0') { if(*str == ' ') { a++; } ... ...
分类:编程语言   时间:2017-08-19 12:38:31    阅读次数:188
JQuery效果
平滑动画扩展宽度 $.animate({width:"+=200px"}); 聚焦 onfocus = ""; 脱离焦点 onblur = ""; 在id为xx的元素前插入 $.insertBefore("#xx"); 移除元素 $.remove(); 元素的内容 $.val(); ...
分类:Web程序   时间:2017-08-19 11:15:01    阅读次数:185
[LintCode] Maximal Square
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area. For example, given the following mat ...
分类:其他好文   时间:2017-08-19 11:14:36    阅读次数:150
UVA - 10559 Blocks
题文:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1500(或者见紫书) 题解: 因为这个题目我们用区间的dp常见套路设dp[i][j]表示处理到i~j ...
分类:其他好文   时间:2017-08-19 11:06:38    阅读次数:114
[JSOI2008]最大数 --线段树
[JSOI2008]最大数 --线段树 题目描述 现在请求你维护一个数列,要求提供以下两种操作: 1、 查询操作。 语法:Q L 功能:查询当前数列中末尾L个数中的最大的数,并输出这个数的值。 限制:L不超过当前数列的长度。 2、 插入操作。 语法:A n 功能:将n加上t,其中t是最近一次查询操作 ...
分类:Web程序   时间:2017-08-19 10:59:10    阅读次数:240
51nod 1240 莫比乌斯函数
题意: 莫比乌斯函数,由德国数学家和天文学家莫比乌斯提出。梅滕斯(Mertens)首先使用μ(n)(miu(n))作为莫比乌斯函数的记号。(据说,高斯(Gauss)比莫比乌斯早三十年就曾考虑过这个函数)。 具体定义如下: 如果一个数包含平方因子,那么miu(n) = 0。例如:miu(4), miu ...
分类:其他好文   时间:2017-08-19 10:52:58    阅读次数:189
HDU 2602 Bone Collector 0/1背包
题目链接:HDU 2602 Bone Collector Bone Collector Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2890 ...
分类:其他好文   时间:2017-08-19 10:51:15    阅读次数:120
50.EasyGank妹纸App
50.EasyGank妹纸App 前言 基于MVP模式下 , RxJava+RxAndroid+Retrofit的组合 . RxJava RxAndroid Retrofit Okhttp Gson Glide Reservoir Github EasyGank ScreenShots $(func ...
分类:移动开发   时间:2017-08-19 10:50:52    阅读次数:152
新的博客技术空间 有空能够去逛逛
新的博客技术空间 有空能够去逛逛 www.gamecode.com.cn 新的博客技术空间 有空能够去逛逛 www.gamecode.com.cn ...
分类:其他好文   时间:2017-08-19 09:22:34    阅读次数:101
Vue内容分发slot
[1]编译作用域 [2]默认丢弃 [3]匿名slot [4]具名Slot [5]作用域插槽 ...
分类:其他好文   时间:2017-08-18 23:55:14    阅读次数:359
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!