首页 > 其他
Harris角点
可参考:http://www.cnblogs.com/ronny/p/4009425.html http://www.cnblogs.com/ztfei/archive/2012/05/07/2487123.html http://blog.csdn.net/crzy_sparrow/...
分类:其他   时间:2015-08-15 10:17:26    收藏:0  评论:0  赞:0  阅读:287
用pdo实现的织梦后台留言板
prepare($sql); $st->bindParam(':title', $title); $st->bindParam(':tid', $tid); $st->bindParam(':mid', $mid); $st->bindParam(':uname', $una...
分类:其他   时间:2015-08-15 10:17:16    收藏:0  评论:0  赞:0  阅读:348
Codeforces 458A Golden System
经过计算两个字符串的大小对比 主要q^2=q+1 明明是斐波那契数100000位肯定超LL 我在每一位仅仅取到两个以内 竟然ac了#includeusing namespace std;int a[100020];char s1[100020],s2[100020];int main(){ s...
分类:其他   时间:2015-08-15 10:16:46    收藏:0  评论:0  赞:0  阅读:164
多态,虚函数,纯虚函数
多态,虚函数,纯虚函数
分类:其他   时间:2015-08-15 10:16:26    收藏:0  评论:0  赞:0  阅读:105
BASH
02-BASH操作我们是通过shell去操作Kernel(操作系统)。是通过shell接受我们的命令,然后由它和底层的ternel内核进行通讯。操作系统的Shell。GUI:GNOME(图形界面)CLI:BASH(命令行的界面)------------------------------------...
分类:其他   时间:2015-08-15 10:16:16    收藏:0  评论:0  赞:0  阅读:196
Monkey and Banana
Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 1069DescriptionA group of researchers are designing an exper...
分类:其他   时间:2015-08-15 10:16:06    收藏:0  评论:0  赞:0  阅读:126
setTimeout 传递的方法
function waitExe(param){ if(time --
分类:其他   时间:2015-08-15 10:15:36    收藏:0  评论:0  赞:0  阅读:101
清橙A1484
http://www.tsinsen.com/ViewGProblem.page?gpid=A1484###题解: 在线插入并不好做,我们将所有操作离线,变为删除操作。 每次询问的时候对于当前B串所在起始位置及其长度向上向下二分,然后查询区间内合法的当前A串内的匹配点即可。 用树状数组维护(不...
分类:其他   时间:2015-08-15 10:14:46    收藏:0  评论:0  赞:0  阅读:273
hdu 5385 The path
HDU 5385构造题使用贪心法构造,因为保证有解,点2或n至少有一个直接与点1相连上述结论可以用反证法证明。假若2和n不直接与1相连,那么必存在点x直接与1相连,间接与2,n相连。这种情况下无论如何设置边权,都有d[x]#include#include#includeusing namespace...
分类:其他   时间:2015-08-15 10:14:16    收藏:0  评论:0  赞:0  阅读:89
EF4.4 升级EF6.0问题总结
如出现下面代码错误,基本可能确定EF数据库配置错误1 在 System.Data.Entity.Core.Metadata.Edm.MetadataArtifactLoaderCompositeResource.LoadResources(String assemblyName, String re...
分类:其他   时间:2015-08-15 10:14:06    收藏:0  评论:0  赞:0  阅读:364
在 sublime text 3 中添加 Emmet (ZenCoding)
安装 Emmet 插件:启动 Sublime Text 3,选择 Preferences>Package Control,点选 Package Control:Install Package:输入 Emmet 并回车:界面最下方显示:表明 Emmet 插件正在安装。重启后就可以使用了.相关语法:后代...
分类:其他   时间:2015-08-15 10:13:56    收藏:0  评论:0  赞:0  阅读:845
UVA它11292 - Dragon of Loowater
Problem C: The Dragon of LoowaterOnce upon a time, in the Kingdom of Loowater, a minor nuisance turned into a major problem.The shores of Rellau Creek...
分类:其他   时间:2015-08-15 10:13:26    收藏:0  评论:0  赞:0  阅读:173
hdu3652(含有13且能被13整除的数)数位DP基础
B-numberTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3257Accepted Submission(s): 1819Problem De...
分类:其他   时间:2015-08-15 10:13:06    收藏:0  评论:0  赞:0  阅读:224
hdu 5167 bfs
因为斐波那契数列增长很快(指数级),所以10Y以内只有不到50个斐波那契数,将这些数字所有可能的乘积存起来查询即可,这里采用bfs+set的方式。 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespac...
分类:其他   时间:2015-08-15 10:12:56    收藏:0  评论:0  赞:0  阅读:210
Simpsons’ Hidden Talents - HDU 2594(求相同的前缀后缀)
题目大意:给你两个字符串,找出一个最大的子串,这个子串要是前面串的前缀并且是后面串的后缀...........分析:next的简单运用吧,可以把两个串进行合并,中间加一个不能被匹配的字符,然后求出来next就行了.......确实很水代码如下:============================...
分类:其他   时间:2015-08-15 10:12:36    收藏:0  评论:0  赞:0  阅读:235
UVa 10480 Sabotage
10480 Sabotage:The regime of a small but wealthy dictatorship has been abruptly overthrown by an unexpected rebellion.Because of the enormous disturba...
分类:其他   时间:2015-08-15 10:11:56    收藏:0  评论:0  赞:0  阅读:326
OpenCV Create Circular Mask 圆形遮罩
在OpenCV中,比较常见的是矩形遮罩CvRect,没有专门提供圆形的mask,那么我们只能自己写一个来模拟圆形mask的函数,需要提供的参数为原图的大小,以及圆形mask的圆心位置和半径即可,返回一个cv::Mat型的mask,参见代码如下:cv::Mat extractCircularMask(...
分类:其他   时间:2015-08-15 10:11:46    收藏:0  评论:0  赞:0  阅读:1370
存储过程
CREATE OR REPLACE PROCEDURE restoreorg_disable_FK(ownerx in varchar2, tblname in varchar2, n_enable in number)IS--类型定义cursor c_constraintisselect y.C....
分类:其他   时间:2015-08-15 10:11:16    收藏:0  评论:0  赞:0  阅读:230
XCode新建Class时自动加前缀(class prefix 修改前缀)
通过class prefix 修改前缀
分类:其他   时间:2015-08-15 10:10:56    收藏:0  评论:0  赞:0  阅读:293
Option使用和实现内幕源码揭秘之Scala学习笔记-22
package com.leegh.pattern_match/** * @author Guohui Li */object Option_Internal { def main(args: Array[String]): Unit = { val scores = Map("Alice"...
分类:其他   时间:2015-08-15 10:10:46    收藏:0  评论:0  赞:0  阅读:132
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!