码迷,mamicode.com
首页 >  
搜索关键字:comment    ( 4550个结果
UVA 12378 Ball Blasting Game Manacher裸题
题目链接:点击打开链接 题意: 消除字符串游戏,选择一个字母,则会消除和该字母相同且连续的一段,然后左右两边合拢,若左右两边字母相同则再次消除掉。直到合拢时两边字母不相同。 问这样连续消除的最大次数。 思路: 先把连续相同的字母当成一个字母,然后求最长回文串, 则答案就是(最长长度+1)/;2 #pragma comment(linker, "/STACK:1024000000,10...
分类:其他好文   时间:2014-12-07 01:25:31    阅读次数:207
OpenCV官方文档学习记录(8)
腐蚀和膨胀效果主要使用erode(src, dst, element);和dilate(src, dst, element);这两个函数:示例代码: 1 #include 2 #include 3 #include 4 5 #pragma comment( linker, "/subsyst...
分类:其他好文   时间:2014-12-06 12:44:32    阅读次数:189
04_01 Linux用户管理命令详解(下)
用户管理:useradd[option]USERNAME-uUIDUSERNAME-gGID-GGID,...(多个附加组逗号隔开)-c"COMMENT"指定注释信息-d/path/to/somedirectory指定某个目录-sSHELL指定shell的目录路径-m-k强行复制bash的配置文件默认是复制过去的-M不给创建家目录-r添加一个系统用户1-499系统用户不..
分类:系统相关   时间:2014-12-06 06:45:03    阅读次数:261
OpenCV官方文档学习记录(7)
从今天开始进入官方的图像处理部分。图像滤波:主要介绍了四种滤波函数的使用方式示例代码: 1 #include 2 #include 3 #include 4 5 #pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRT...
分类:其他好文   时间:2014-12-06 01:24:56    阅读次数:251
OpenCV官方文档学习记录(6)
离散傅里叶变换:DFT,文档p165代码如下: 1 #include 2 #include 3 #include 4 5 #pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" ) 6 7 #d...
分类:其他好文   时间:2014-12-05 19:19:20    阅读次数:287
Nginx FastCGI PHP
We can see this comment in nginx.conf.# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000Means: When the nginx handle PHP, the server...
分类:Web程序   时间:2014-12-04 17:19:37    阅读次数:215
OpenCV官方文档学习记录(5)
随机数生成类:RNG以及文字渲染 1 #include 2 #include 3 #include 4 5 #pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" ) 6 7 #define N...
分类:其他好文   时间:2014-12-04 11:41:41    阅读次数:250
OpenCV官方文档学习记录(3)
更改图像亮度和对比度:公式:代码: 1 #include 2 #include 3 #include 4 5 #pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" ) 6 7 using na...
分类:其他好文   时间:2014-12-03 20:47:49    阅读次数:186
ECshop 数据库表结构
-- 表的结构 `ecs_account_log`CREATE TABLE IF NOT EXISTS `ecs_account_log` (`log_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增ID号',`user_id...
分类:数据库   时间:2014-12-03 17:09:20    阅读次数:286
opencv Mat 多通道c++ 操作方法(适用于Windows/Linux)
最近在做opencv 多通道操作时发现网上例子很少,为了方便记忆就自己写了个demo。 例子在vs2010 + opencv 2.4.9 编译通过,只要配置好opencv 的lib路径就可以运行了。 该方法适用于Windows/Linux下的c++ 操作,Windows 和Ubuntu 都试过没问题。 #include #include #pragma comment ( lib...
分类:编程语言   时间:2014-12-03 15:47:53    阅读次数:672
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!