码迷,mamicode.com
首页 >  
搜索关键字:stl array    ( 35607个结果)
图片放大源码
jquery选项卡插件制作标签标题内容slider滑动切换特效 jquery tab选项卡插件 轻量级tab选项卡插件支持鼠标滑过、点击、自动切换、数据回调等功能this.preloadIm=function(){ var b=new Array; $("a.preview").e...
分类:其他好文   时间:2014-05-17 06:14:32    阅读次数:297
c++内存泄露检测与定义
对于一个c/c++程序员来说,内存泄漏是一个常见的也是令人头疼的问题。已经有许多技术被研究出来以应对这个问题,比如 Smart Pointer,Garbage Collection等。Smart Pointer技术比较成熟,STL中已经包含支持Smart Pointer的class,但是它的使用似乎...
分类:编程语言   时间:2014-05-17 04:10:43    阅读次数:418
js-清空array数组
1.splice:删除元素并添加新元素,直接对数组进行修改,返回含有被删除元素的数组。 arrayObject.splice(index,howmany,element1,.....,elementX) index:必选,规定从何处添加/删除元素。 howmany:必选,规定应该删除多少元...
分类:Web程序   时间:2014-05-17 01:27:46    阅读次数:331
关于反常积分收敛的专题讨论
$\bf命题:$设$\int_a^{ + \infty } {f\left( x \right)dx} $收敛,若$\lim \limits_{x \to \begin{array}{*{20}{c}} {{\rm{ + }}\infty } \end{array}} f\left( x \righ...
分类:其他好文   时间:2014-05-14 09:49:48    阅读次数:341
std::map中函数用法集合
1 STL的map表里有一个erase方法用来从一个map中删除掉指令的节点 2 eg: 3 map mapTest; 4 typedef map::iterator ITER; 5 ITER iter=mapTest.find(key); 6 mapTest.erase(iter...
分类:其他好文   时间:2014-05-14 09:19:03    阅读次数:319
POJ 2823 单调队列
Sliding Window Time Limit: 12000MS   Memory Limit: 65536K Total Submissions: 36469   Accepted: 10803 Case Time Limit: 5000MS Description An array of size n ≤ 106 is gi...
分类:其他好文   时间:2014-05-13 15:36:47    阅读次数:357
HDU Bombing (STL multiset+map)
题意:给你 n 个坐标(x,y),m 个询问(c,d) c==0,求出x==d有多少个,并删除这些点; c==1,求出y==d有多少个,并删除这些点。 map+multiset的多重映射 #include #include #include #include #include #include #include #include #include #includ...
分类:其他好文   时间:2014-05-13 15:13:07    阅读次数:253
Android tree应用框架
简介一个应用开发框架,可以加快开发速度,今天笔记基于许多开源项目自写了一款应用框架。内容框架包括:界面管理(Activity管理)、数据库操作(orm框架、加密等)、http交互、缓存管理、下载管理、路径管理、日志输出、网络管理、系统命令、加解密、stl容器、任务管理、奔溃管理、存储管理、其它辅助管理…。解决思路如下:界面管理:使用Stack记录Activity的运行轨迹,并在每个Activity...
分类:移动开发   时间:2014-05-13 14:16:40    阅读次数:436
Best Time to Buy and Sell Stock
原题: Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to complete at most one transaction (ie, buy one and sell one share of th...
分类:其他好文   时间:2014-05-13 14:12:41    阅读次数:342
Leetcode 贪心 Best Time to Buy and Sell StockII
本文为senlie原创,转载请保留此地址:http://blog.csdn.net/zhengsenlie Best Time to Buy and Sell Stock II  Total Accepted: 13030 Total Submissions: 36467 Say you have an array for which the ith ...
分类:其他好文   时间:2014-05-13 14:08:39    阅读次数:414
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!