码迷,mamicode.com
首页 >  
搜索关键字:ma    ( 3043个结果
二叉堆 - 最小堆
二叉堆:一般我们拿来用的就是最大堆和最小堆。最小堆:每个节点的值比它的左右子节点的值要大。代码实现如下:参考Mark Allen Weiss《数据结构和算法分析》(第二版) 1 #include 2 #include 3 4 #define MIN (1items =(Item*)ma...
分类:其他好文   时间:2014-10-28 23:55:06    阅读次数:997
eclipse中无法连接数据库
问题描述:明明已经用 build path 将 mysql 的jar包加入了进去,但是运行的时候却不断地报错 java.lang.ClassNotFoundException: com.mysql.jdbc.Driver 看了很久的程序,也没有发现为什么连接不上。于是写了一个 test ma...
分类:数据库   时间:2014-10-28 17:14:49    阅读次数:249
ZOJ-3652-Maze(BFS)
Celica is a brave person and believer of a God in the bright side. He always fights against the monsters that endanger humans. One day, he is asked to go through a maze to do a important task. The ma...
分类:其他好文   时间:2014-10-27 00:36:52    阅读次数:268
SQL Server Database 维护计划创建完整的备份策略
SQL Server的维护计划Maintenance Plan是一个非常实用的维护工具,可以完成大多数的数据库维护任务,通过对这些功能的封装,可以省去很多的代码编写时间。网络上完整介绍的不是很多,特此补上一篇。 数据库的备份是日常操作非常重要的一个环节,备份的方法也很多,其中最简单的方法就是通过Ma...
分类:数据库   时间:2014-10-26 21:10:26    阅读次数:263
POJ 2607 Fire Station
Fire StationTime Limit: 5000msMemory Limit: 65536KBThis problem will be judged onPKU. Original ID:260764-bit integer IO format:%lld Java class name:Ma...
分类:其他好文   时间:2014-10-26 14:14:43    阅读次数:215
RSA 加密长度计算公式
The length of data that can be encrypted using RSA is determined primarily by the size of the key you're using. You appear to be using OAEP, so the ma...
分类:其他好文   时间:2014-10-24 16:04:19    阅读次数:227
DIV+CSS布局使用的个人心得
网站制作离不开网页布局就是说DIV+CSS都会涉及到的,以下是工作中总结的一些技巧,留下备用,也可以学习网页前端教程(div+css+jquery)。 1、ul:默认的ul的margin和padding不是0,如果在导航中用到了左浮动的li,往往会把外部的div撑大,导致页面变形,改成: ul{ma...
分类:Web程序   时间:2014-10-24 10:48:52    阅读次数:212
hdu 4545 魔法串
http://acm.hdu.edu.cn/showproblem.php?pid=4545 1 #include 2 #include 3 #include 4 #define maxn 2000 5 using namespace std; 6 7 char s1[maxn],s2[ma...
分类:其他好文   时间:2014-10-23 20:39:07    阅读次数:225
[OpenCV] 1、读取图片
>__ 2 #include 3 using namespace std; 4 using namespace cv; 5 int main(int argc, char* argv[]) 6 { 7 const char* imagename = "lena.jpg"; 8 Ma...
分类:其他好文   时间:2014-10-22 23:15:47    阅读次数:260
POJ 3370 Halloween treats - 鸽巢原理
Description Every year there is the same problem at Halloween: Each neighbour is only willing to give a certain total number of sweets on that day, no matter how many children call on him, so it ma...
分类:其他好文   时间:2014-10-22 20:24:03    阅读次数:307
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!