首页 > 其他
codeforces 22B B. Bargaining Table(dp)
题目链接:codeforces 22B题目大意:给出一个矩阵,求周长最大的矩形的周长题目分析:求出每个点为底的最大的高度(0),然后枚举右下角,再枚举矩形的高度,然后算取长度,进而算取周长即可。AC代码:#include #include #include #include #define MAX 30using n...
分类:其他   时间:2015-10-04 17:14:52    收藏:0  评论:0  赞:0  阅读:278
LeetCode -- Maximal Square
LeetCode -- Maximal Square...
分类:其他   时间:2015-10-04 17:14:43    收藏:0  评论:0  赞:0  阅读:177
LeetCode -- Max Points on a Line
LeetCode -- Max Points on a Line...
分类:其他   时间:2015-10-04 17:14:33    收藏:0  评论:0  赞:0  阅读:142
LeetCode -- Gas Station
LeetCode -- Gas Station...
分类:其他   时间:2015-10-04 17:14:23    收藏:0  评论:0  赞:0  阅读:188
LeetCode -- Kth Smallest Element in a BST
LeetCode -- Kth Smallest Element in a BST...
分类:其他   时间:2015-10-04 17:14:12    收藏:0  评论:0  赞:0  阅读:211
LeetCode -- Implement Trie (Prefix Tree)
LeetCode -- Implement Trie (Prefix Tree)...
分类:其他   时间:2015-10-04 17:14:03    收藏:0  评论:0  赞:0  阅读:180
LeetCode -- Factorial Trailing Zeroes
LeetCode -- Factorial Trailing Zeroes...
分类:其他   时间:2015-10-04 17:13:53    收藏:0  评论:0  赞:0  阅读:224
LeetCode -- Construct Binary Tree from Inorder and Postorder Traversal
LeetCode -- Construct Binary Tree from Inorder and Postorder Traversal...
分类:其他   时间:2015-10-04 17:13:43    收藏:0  评论:0  赞:0  阅读:259
LeetCode -- Unique Paths
LeetCode -- Unique Paths...
分类:其他   时间:2015-10-04 17:13:33    收藏:0  评论:0  赞:0  阅读:214
79. Word Search (Graph; DFS)
Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "adjace...
分类:其他   时间:2015-10-04 17:12:42    收藏:0  评论:0  赞:0  阅读:217
文件下载
两种方式解决下载问题:方法一:使用a标签实现将一个文件通过a标签的href进行链接:当用户点击的时候,浏览器不能识别该文件,就会变成下载。A标签下载的问题文件不能是任意文件:只有浏览器不能识别的文件才会当成附件下载;能识别会被直接打开;文件必须是真实存在,而且一定会暴露文件的地址。文件下载 d...
分类:其他   时间:2015-10-04 17:12:12    收藏:0  评论:0  赞:0  阅读:186
POI 读取word (word 2003 和 word 2007) (转)
最近在给客户做系统的时候,用户提出需求,要能够导入 word 文件,现在 microsoft word 有好几个版本 97、2003、2007的,这三个版本存储数据的格式上都有相当大的差别,而现在 97 基本上已经退出市场,几乎没有人用这个版本了, 所以在我们的系统中只考虑 2003 版本和 200...
分类:其他   时间:2015-10-04 17:11:53    收藏:0  评论:0  赞:0  阅读:303
73. Set Matrix Zeroes? (Graph)
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.Follow up: Did you use extra space?A straight forward sol...
分类:其他   时间:2015-10-04 17:11:42    收藏:0  评论:0  赞:0  阅读:236
导入特殊字体
其实这个我还没有找到合适的中文包如果谁有给我说下。给大家两个免费的字体下载网址http://typekit.com/https://www.google.com/fonts/http://webfonts.fonts.com/http://nicewebtype.com/@font-face{ .....
分类:其他   时间:2015-10-04 17:11:32    收藏:0  评论:0  赞:0  阅读:245
字符设备 register_chrdev_region()、alloc_chrdev_region() 和 register_chrdev()
1. 字符设备结构体 内核中所有已分配的字符设备编号都记录在一个名为 chrdevs 散列表里。该散列表中的每一个元素是一个 char_device_struct 结构,它的定义如下: static struct char_device_struct { struct char_device_st....
分类:其他   时间:2015-10-04 17:11:22    收藏:0  评论:0  赞:0  阅读:137
信息安全系统设计基础第四周学习总结
信息安全系统设计基础第四周学习总结 位:孤立地讲,单个的位不是非常有用。然而,当把位组合在一起,再加上某种解释,即给不同的可能为模式赋予含义,我们就能够表示任何有限集合的元素。 三种最重要的数字表示: 无符号,补码,浮点数。 逆向角度思考安全漏洞的产生: 当你正...
分类:其他   时间:2015-10-04 17:11:12    收藏:0  评论:0  赞:0  阅读:282
说说WeakReference弱引用
WeakReference弱引用概述http://www.cnblogs.com/xrq730/p/4836700.html,关于Java的四种引用状态具体请参看此文Java里一个对象obj被创建时,被放在堆里。当GC运行的时候,发现没有任何引用指向obj,那么就会回收obj对象的堆内存空间。但是现...
分类:其他   时间:2015-10-04 17:10:45    收藏:0  评论:0  赞:0  阅读:269
OK6410按键驱动程序(改)亲测可以运行
#include#include#include#include#include#include#include#include#include#include#include#include#include#include#include//#include#include#defineDEVIC...
分类:其他   时间:2015-10-04 17:10:12    收藏:0  评论:0  赞:0  阅读:266
HDU 3652 B-number (数位DP,入门)
题意: 如果一个整数能被13整除,且其含有子串13的,成为B数,问[1,n]中有多少个B数?思路: 这题不要用那个DFS的模板估计很快秒了。 状态设计为dp[位数][前缀][模13][是否含13],前缀这一维还是有必要的(由于只有前缀1和其他不同,所以也可以用01来表示是否前缀为1)。递归出口...
分类:其他   时间:2015-10-04 17:10:02    收藏:0  评论:0  赞:0  阅读:207
133. Clone Graph (Graph, Map; DFS)
Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors.OJ's undirected graph serialization:Nodes are labeled u...
分类:其他   时间:2015-10-04 17:08:52    收藏:0  评论:0  赞:0  阅读:288
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!