码迷,mamicode.com
首页 > 其他好文
杭电一水题(DFS)Untitled
Problem DescriptionThere is an integeraandnintegersb1,…,bn. After selecting some numbers fromb1,…,bnin any order, sayc1,…,cr, we want to make sure tha...
分类:其他好文   时间:2015-08-02 20:03:48    阅读次数:90
LinearGradient线性渲染
[java] view plaincopyprint?importandroid.content.Context;importandroid.graphics.Canvas;importandroid.graphics.Color;importandroid.graphics.LinearGradi...
分类:其他好文   时间:2015-08-02 20:00:05    阅读次数:108
liu fei (1)
活动编号 用户名 员工号 部门 领奖情况 性别 名族 所交会费 加入公司时间 ${row.activity_id} ${row.m...
分类:其他好文   时间:2015-08-02 20:01:41    阅读次数:108
CodeForces 556A 解题心得
原题:DescriptionAndrewid the Android is a galaxy-famous detective. In his free time he likes to think about strings containing zeros and ones.Once he th...
分类:其他好文   时间:2015-08-02 20:00:41    阅读次数:135
uva11059(最大乘积) 解题心得
原题:Given a sequence of integers S = {S1, S2, . . . , Sn}, you should determine what is the value of the maximum positive product involving consecutive...
分类:其他好文   时间:2015-08-02 19:59:19    阅读次数:100
0-1背包问题——动态规划
1 // 动态规划法解决0-1背包问题 2 //example: 3 //物品种类n=5,背包容量c=10, 4 //物品的重量向量 w={2,2,6,5,4},物品的价值向量 v={6,3,5,4,6} 5 // O(min{n*c,2^n}) 6 #include "stdafx.h" 7 .....
分类:其他好文   时间:2015-08-02 19:59:37    阅读次数:118
延时提示框
分类:其他好文   时间:2015-08-02 19:57:58    阅读次数:102
vc 获取函数名称真实地址
首先写一个很简单的main函数:int main(){ printf("main的地址(?):%08x",main);}单步调试,可得知 main函数的真实入口地址是:00be91a0 然而我们控制台输出的值是为什么会出现这样的差别呢?院子里有一篇大牛写的有关注入的文章:http://www...
分类:其他好文   时间:2015-08-02 19:58:48    阅读次数:133
【转载】关于OpenGL的图形流水线
本文转载自http://blog.csdn.net/racehorse/article/details/6593719GLSL教程这是一些列来自lighthouse3d的GLSL教程,非常适合入门。我将边学习边翻译该教程的内容,同时记录在这里,方便以后查询。流水线概述下图描述了一个简化的图形处理流水...
分类:其他好文   时间:2015-08-02 19:57:15    阅读次数:157
HDFS文件读取详解
客户端与HDFS文件读取 创建HDFS文件系统实例 FileSystem fs = FileSystem.get(new URI("hdfs://ns1"), new Configuration(),"root"); 客户端通过调用FileSystem对象fs的Open()方法打开要读取的...
分类:其他好文   时间:2015-08-02 19:58:23    阅读次数:91
HDU 2524 矩形A + B 解题心得
原题:Description给你一个高为n ,宽为m列的网格,计算出这个网格中有多少个矩形,下图为高为2,宽为4的网格.Input第一行输入一个t, 表示有t组数据,然后每行输入n,m,分别表示网格的高和宽 ( n #includeusing namespace std;int f[110][110...
分类:其他好文   时间:2015-08-02 19:56:22    阅读次数:107
HUAS Summer Trainning #3 E
Today on a lecture about strings Gerald learned a new definition of string equivalency. Two stringsaandbof equal length are calledequivalentin one of ...
分类:其他好文   时间:2015-08-02 19:57:29    阅读次数:623
HUAS Summer Trainning #3 M
Description我们知道,在编程中,我们时常需要考虑到时间复杂度,特别是对于循环的部分。例如, 如果代码中出现 for(i=1;i 2 using namespace std; 3 const int maxn=2000+20; 4 int p[maxn][maxn]; 5 void set(...
分类:其他好文   时间:2015-08-02 19:58:02    阅读次数:116
[Wireshark]_002_玩转数据包
通过前一篇文章,我们大概了解了Wireshark,现在可以准备好进行数据包的捕获和分析了。这一片我们将讲到如何使用捕获文件,分析数据包以及时间格式显示等。1.使用捕获文件进行数据包分析时,其实很大一部分分析是在数据包捕获后进行的。有时我们还会在不同时间进行多次捕获,并保存下来,然后一起进行分析,可将...
分类:其他好文   时间:2015-08-02 19:57:48    阅读次数:190
浏览器内核
【内核简介】浏览器内核即"渲染引擎"(Rendering Engine),负责对网页语法的解释并渲染(显示)。渲染引擎决定了浏览器如何显示网页的内容以及页面的格式信息。【内核分类】1.Trident在1997年的IE4中首次被采用,是微软在Mosaic代码的基础之上修改而来的,并沿用到IE11,也被...
分类:其他好文   时间:2015-08-02 19:55:58    阅读次数:152
HDU 5224 解题心得
原题DescriptionThere is a piece of paper in front of Tom, its length and width are integer. Tom knows the area of this paper, he wants to know the minim...
分类:其他好文   时间:2015-08-02 19:54:04    阅读次数:229
ie6定位absolute bug触发layout解决
IE6中很多Bug都可以通过触发layout得到解决,以上的解决方法无论是设置zoom:1还是设置width和height其实都是为了触发layout。下列的CSS属性或取值会让一个元素获得layout:position:absolute 绝对定位元素的包含区块(containing block)就...
分类:其他好文   时间:2015-08-02 19:54:22    阅读次数:114
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!