码迷,mamicode.com
首页 >  
搜索关键字:one    ( 27922个结果
手写栈,队列
1 struct sta 2 { 3 int sz[100001]; 4 int top() 5 { 6 return sz[top]; 7 } 8 void push(int x){ 9 sz[++top]=x; 10 } 11 void pop(){ 12 if(top>0) 13 top--; ...
分类:其他好文   时间:2017-04-30 22:46:56    阅读次数:160
ural 2016 Magic and Science
2016. Magic and Science Time limit: 1.0 secondMemory limit: 64 MB Scientists who specialize in witchcraft have recently discovered a new elementary pa ...
分类:其他好文   时间:2017-04-30 21:35:02    阅读次数:276
szoj461【四校联考0430】挑战
传送门:(涉及版权忽略) 【题解】 我们发现n的范围很小,提示我们可以折半,然后我们就会了O(T2^(n/2)*n)的做法,然而会T。 考虑如何优化。直接排序会多一个log(2^(n/2))也就是n,那么改成每次加一个数,归并即可。这样复杂度是对的 T(n) = T(n-1) + 2^n ==> T ...
分类:其他好文   时间:2017-04-30 21:31:59    阅读次数:149
webParts与Web部件
web部件是ASP.NET WebForm里面的服务器控件,它涵盖的内容比较多,鉴于这种状况的话鄙人不打算深究下去了,只是局限于了解web.config配置里面的配置内容则可。 那么也得稍微说说啥是Web部件。引用MSDN的话:ASP.NET Web 部件是一组集成控件,用于创建网站使最终用户可以直 ...
分类:Web程序   时间:2017-04-30 21:30:52    阅读次数:316
Spring通过XML方式实现定时任务
结果: ...
分类:编程语言   时间:2017-04-30 20:33:06    阅读次数:132
[leetcode-567-Permutation in String]
Given two strings s1 and s2, write a function to return true if s2 contains the permutation of s1. In other words, one of the first string's permutati ...
分类:其他好文   时间:2017-04-30 18:38:16    阅读次数:156
POJ_1195 Mobile phones 【二维树状数组】
题目链接:http://poj.org/problem?id=1195 纯纯的二维树状数组,不解释,仅仅须要注意一点,由于题目中的数组从0開始计算,所以维护的时候须要加1。由于树状数组的下标是不能为1的 代码: #include <iostream> #include <cstdio> #defin ...
分类:编程语言   时间:2017-04-30 18:33:10    阅读次数:189
卡尔曼滤波器实例:跟踪自由落体运动:设计与Matlab实现
本文所用实例来自于以下书籍: Fundamentals of Kalman Filtering: A Practical Approach, 3rd Edition.Paul Zarchan, Howard Musoff. 某物体位于距地面400000 ft的高空,初速度为6000 ft/s,重力加 ...
分类:其他好文   时间:2017-04-30 17:20:33    阅读次数:1208
A new node couldn't be inserted because one with the same name exists. (VERR_CFGM_NODE_EXISTS).
今天在使用Oracle的Vbox导入模板虚拟机的时候报了这么一个错误:Anewnodecouldn‘tbeinsertedbecauseonewiththesamenameexists.(VERR_CFGM_NODE_EXISTS).看字面的意思是已经有一个相同的名字机器存在了尝试删除后再重新导入,结果问题依旧。后来网上找了找资料,说是换一个USB控..
分类:其他好文   时间:2017-04-30 17:17:32    阅读次数:141
JAVA中大数经常使用的函数
声明为 BigInteger 的 java.math 中的字段 static BigInteger BigInteger. ONE BigInteger 的常量 1。 static BigInteger BigInteger. TEN BigInteger 的常量 10。 static BigInt ...
分类:编程语言   时间:2017-04-30 17:12:37    阅读次数:184
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!