码迷,mamicode.com
首页 > 其他好文
ZOJ 3640 Help Me Escape(概率dp+记忆化)
Background     If thou doest well, shalt thou not be accepted? and if thou doest not well, sin lieth at the door. And unto thee shall be his desire, and thou shalt rule over him.     And Cain ta...
分类:其他好文   时间:2015-04-22 09:41:23    阅读次数:199
第四届华中区程序设计邀请赛暨武汉大学第十三届校赛 网络预选赛 Problem 1566 - C - Spanning Tree
Description You are given a graph with N nodes and M edges.  Then every time you are required to add an additional edge with weight Wi connecting the node Ai and Bi in the graph, and then calculat...
分类:其他好文   时间:2015-04-22 09:40:45    阅读次数:140
字符设备驱动(二)
驱动LED灯 首先加入头文件#include #include #include #include #include #include #include #include <asm/io....
分类:其他好文   时间:2015-04-22 09:40:18    阅读次数:259
hdu 1873 看病要排队
考察优先队列,以及对队列的一系列操作 #include #include int n; using namespace std; struct stu { int num,po; friend bool operatory.num; return x.po<y.po; } }; pri...
分类:其他好文   时间:2015-04-22 09:42:30    阅读次数:113
做游戏开发必须会的抓包方法
php是用来写接口的,经常调试需要用到抓包,电脑本地抓包,很多人都会,但是手机抓包呢?现在给大家介绍下手机抓包的方式 首先 先下载Fiddler,自己可以去google找下 然后安装打开 最后保存 重启fiddler 然后运行cmd  输入ipconfig查看自己的ip地址 假设的电脑ip地址是192.168...
分类:其他好文   时间:2015-04-22 09:39:46    阅读次数:185
OpenGL初使用,glut库安装(vs2013)
最近要开始做三维重建,需要使用opencv 和 openGL,第一次使用OpenGL,当然要从装glut库来开始。 glut 库文件下载地址如下:http://download.csdn.net/detail/hyqsong/8618163 安装步奏如下: 1.将glut.h,放在vs2013安装目录的include下,新建一个GL目录(没有的话):例如我的路径是: C:\Program F...
分类:其他好文   时间:2015-04-22 09:40:56    阅读次数:237
三帧帧差法改进——使用循环队列减少深拷贝
使用循环队列的三帧帧差法     帧差法是背景减图法中的一种,只不过是帧差法不需要建模,因为它的背景模型就是上一帧的图,所以速度非常快。对于帧差法的”双影”现象,有人提出来了三帧差法。其原理如下所示:     1. 由I(t) - I(t-1)得到前景图   F1     2. 由I(t+1) - I(t)得到前景图  F2     3.  F1 ∩ F2得到前景图        F3 ...
分类:其他好文   时间:2015-04-22 09:40:00    阅读次数:164
爬虫的学习分析
欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦: Markdown和扩展Markdown简洁的语法 代码块高亮 图片链接和图片上传 LaTex数学公式 UML序列图和流程图 离线写博客 导入导出Markdown文件 丰富的快捷键 快捷键 加粗 Ctrl + B 斜体 Ctrl + I 引用 Ctrl...
分类:其他好文   时间:2015-04-22 09:41:38    阅读次数:114
error LNK1104: 无法打开文件“glut32.lib”(OpenGL初次使用碰到的编译问题)
上一篇blog文写到怎么安装gllu库,并给出了例子来验证OpenGL能否正常使用,但是一编译就出现问题:error LNK1104: 无法打开文件“glut32.lib” 其实就是vs项目的配置问题,可以在项目属性中,VC++目录下,库目录包含相应glut32.lib的目录即可(就是一开始配置时复制过去的路径,包含上即可解决编译问题) ??...
分类:其他好文   时间:2015-04-22 09:40:16    阅读次数:114
ret2lib bypass dep 学习笔记(0day2Edition NtSetInformationProcess)
DEP绕过ROP(ret2lib)技术总结样本空间测试环境 操作系统:windows xp sp3 工具:immunity debugger 样本源码: #include #include #include char shellcode[]= "\xFC\x68\x6A\x0A\x38\x1E\x68\x63\x89\xD1\x...
分类:其他好文   时间:2015-04-22 09:40:56    阅读次数:295
poj 2912 Rochambeau【枚举+种类并查集】
Rochambeau Time Limit: 5000MS   Memory Limit: 65536K Total Submissions: 2092   Accepted: 733 Description N children are playing Rochambeau (scissors-rock-cloth) game wi...
分类:其他好文   时间:2015-04-22 09:38:16    阅读次数:150
poj 1417
True Liars Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 2221   Accepted: 685 Description After having drifted about in a small boat for a couple of days, ...
分类:其他好文   时间:2015-04-22 09:39:27    阅读次数:145
ZOJ 3333 Guess the price
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=3758 题面: Guess the Price Time Limit: 1 Second      Memory Limit: 32768 KB In the television program "Shopping Street...
分类:其他好文   时间:2015-04-22 09:37:38    阅读次数:191
struts2中取得session的公共方法类
该公共方法类一般建立在com.xxx.util包下面 package com.dgh.util; import java.util.Map; import org.apache.struts2.interceptor.SessionAware; /** * * 获得session * @author wangcunhuazi */ public class BaseAction im...
分类:其他好文   时间:2015-04-22 09:39:35    阅读次数:134
hdu2881 dp
dp...
分类:其他好文   时间:2015-04-22 09:36:51    阅读次数:88
poj 1733 Parity game 【种类并查集+离散化】
Parity game Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 6767   Accepted: 2616 Description Now and then you play the following game with your friend. Your...
分类:其他好文   时间:2015-04-22 09:36:52    阅读次数:404
习题10-18 一个研究课题 UVa10837
1.题目描述:点击打开链接 2解题思路:本题利用欧拉函数的性质暴力搜索求解。首先,根据 phi(n)=pk11(p1?1)?pk22(p2?1)?pk33(p3?1)....可知,n中的所有素因子p必须满足phi(n)%(p-1)==0这一条件。因此可以事先将所有这样的素数找出来,然后在这些素数的基础上进行暴力搜索,来枚举哪些素数用与不用。如果用了,还要枚举所有的合法的使用次数。这看上去时间...
分类:其他好文   时间:2015-04-22 09:36:41    阅读次数:130
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!