首页 > 2015年02月01日 > 全部分享
C语言关键字 (一)
0.定义和声明的区别 1、什么是定义? 所谓的定义就是编译器创建一个对象,为这个对象分配一块内存并给它取上一个名字,这个名字就是我们经常所说的变量名或对象名。这个名字一旦和这块内存匹配起来,他们就同生共死,不离不弃,并且这块内存的位置也不能被改变。一个变量或对象在一定的区域内只能被定义一次。 2、什么事声明? 声明就是告诉编译器,这个名字已经匹配到一块内存上了,声明可以出现多次。同时也告诉...
分类:编程语言   时间:2015-02-01 16:08:50    收藏:0  评论:0  赞:0  阅读:283
[BestCoder] Round #6
1001 http://acm.hdu.edu.cn/showproblem.php?pid=4981 #include #include #include #include #include #include #include #include #include #include #include #include #include #define rd(x) ...
分类:其他   时间:2015-02-01 16:08:40    收藏:0  评论:0  赞:0  阅读:255
灰度图像--图像增强 Robert算子、Sobel算子
图像边缘增强,Robert算子,Sobel算子...
分类:其他   时间:2015-02-01 16:08:30    收藏:0  评论:0  赞:2  阅读:7530
报表打印错误:Forcing NLS_NUMERIC_CHARACTERS to: '.,' for XDO processing
HDSP0004 module: HDSP: 凭证打印 +---------------------------------------------------------------------------+ 当前的系统时间为 01-02-2015 15:11:33 +--------------------------------------------------------------...
分类:其他   时间:2015-02-01 16:08:20    收藏:0  评论:0  赞:0  阅读:340
【leetcode】Majority Element
题目如下 Given an array of size n, find the majority element. The majority element is the element that appears more than ? n/2 ? times. You may assume that the array is non-empty and the majority...
分类:其他   时间:2015-02-01 16:08:10    收藏:0  评论:0  赞:0  阅读:256
java图片处理工具
图片处理工具 import java.io.*; import java.util.Date; import java.awt.*; import java.awt.image.*; import javax.imageio.ImageIO; import com.sun.image.codec.jpeg.*; /**  * 图片压缩处理  *  * @author ku...
分类:编程语言   时间:2015-02-01 16:08:00    收藏:0  评论:0  赞:0  阅读:210
[BestCoder] Round #8
1001 http://acm.hdu.edu.cn/showproblem.php?pid=4989 #include #include #include #include #include #include #include #include #include #include #include #include #include #define rd(x) ...
分类:其他   时间:2015-02-01 16:07:50    收藏:0  评论:0  赞:0  阅读:293
利用AC自动机进行关键字的提取和过滤
昨天看了meituan.com的AC算法在美团上单系统的应用一文,深受启发,原来ACM算法在工程中也能有这样赤裸裸的运用~~~ 于是便复习了AC自动机,并把代码用java重新搞了一遍~~ AC自动机整体的结果大概是长这样的,其实就是在trie树上做KMP : AC自动机里面比较难理解的应该是它的失配指针的计算过程。 这个计算过程从本质上讲就是进...
分类:其他   时间:2015-02-01 16:07:40    收藏:0  评论:0  赞:0  阅读:354
[LeetCode]162.Find Peak Element
【题目】 A peak element is an element that is greater than its neighbors. Given an input array where num[i] ≠ num[i+1], find a peak element and return its index. The array may contain multipl...
分类:其他   时间:2015-02-01 16:07:30    收藏:0  评论:0  赞:0  阅读:288
Remove Duplicates from Sorted List II
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. For example, Given 1->2->3->3->4->4->5, return 1->2->5. Given 1->...
分类:其他   时间:2015-02-01 16:07:20    收藏:0  评论:0  赞:0  阅读:227
Python学习笔记[7]--面向对象
原文链接1、使用__slots__: __slots__限制了对当前类的动态绑定。仅限于在__slots__中定义的元素进行,对于未定义的元素,则不予以绑定。返回错误。>>> class Student(object):... __slots__ = ('name', 'age') # 用...
分类:编程语言   时间:2015-02-01 16:06:20    收藏:0  评论:0  赞:0  阅读:286
hdu 4745
求一个环的最长回文序列,是序列不是串,起点是可以任意的,所以只要求出每个区间的最长回文序列之后取max(dp[1][i]+dp[i+1][n]),即可得最终答案Sample Input1141 1 2 162 1 1 2 1 30Sample Output145 1 #include 2 #incl...
分类:其他   时间:2015-02-01 16:06:09    收藏:0  评论:0  赞:0  阅读:277
[SAP ABAP开发技术总结]Function远程、同步、异步调用
目录导航 声明:原创作品,转载时请注明文章来自SAP师太博客,并以超链接形式标明文章原始出处,否则将追究法律责任!原文出自: 20.1. Function调用... 233 20.1.1. 更新FM:LUW.. 233 20.1.2. RFC函数:远程调用... 234 20.1.2.1. 同步.....
分类:其他   时间:2015-02-01 16:05:59    收藏:0  评论:0  赞:0  阅读:1060
hdu 1028 Ignatius and the Princess III(母函数)
题意: N=a[1]+a[2]+a[3]+...+a[m];a[i]>0,1>N){ memset(a,0,sizeof(a)); a[0]=1; memset(b,0,sizeof(b)); for(int i=1;i<=N;++i){ for(i...
分类:其他   时间:2015-02-01 16:05:49    收藏:0  评论:0  赞:0  阅读:222
ecshop调用指定商品分类下的商品
在系统目录文件找到includes/lib_goods.php这个文件打开在此页最底部加入以下函数代码:/** * 首页获取指定分类产品 * * @access public * @param string $cat_id53_best_goods * @param ...
分类:其他   时间:2015-02-01 16:05:39    收藏:0  评论:0  赞:0  阅读:230
第一个游戏总结
游戏是一个用libgdx写的游戏,这个项目,开始是别人写的,写的真心很烂,不多说了。 游戏没有算法,就是控件多了点,然后涉及到一个文件操作。 真的是坑死我了。代码乱的一笔,各种各样的小问题,改我各种纠结,基本大体都给改了一遍.... 费力费神,最后的结果还是项目挂掉。 憋了半天就憋出5句...
分类:其他   时间:2015-02-01 16:05:29    收藏:0  评论:0  赞:0  阅读:223
从源码角度深入分析ant
Ant的基本概念首先是ant的基本概念:Project,Target,Tasks,Properties,Paths1.Project build.xml文件最顶层的元素,它有三个可选的属性:名称(name):工程的名称默认(default):默认的目标(target)。基础目录(basedir):工...
分类:其他   时间:2015-02-01 16:05:19    收藏:0  评论:0  赞:0  阅读:295
SimpleDateFormat使用具体解释
public class SimpleDateFormat extends DateFormatSimpleDateFormat 是一个以国别敏感的方式格式化和分析数据的详细类。 它同意格式化 (date -> text)、语法分析 (text -> date)和标准化。 SimpleDateFor...
分类:其他   时间:2015-02-01 16:05:09    收藏:0  评论:0  赞:0  阅读:261
redis的安装配置
下载页面: http://redis.io/download安装和运行在这个页面上都有说明redis的默认端口是: 6379我安装是redis 2.8.19版本.后台运行redis server实例: 修改redis.conf , 有一项目为 daemonize , 将该项设置为yes , 运行.....
分类:其他   时间:2015-02-01 16:04:49    收藏:0  评论:0  赞:0  阅读:297
CSS链接属性
超链接的四种转态,以及设置四种状态样式的顺序,必须为:lvha,设置才能生效,以及去除超链接下划线的方法
分类:Web开发   时间:2015-02-01 16:04:40    收藏:0  评论:0  赞:0  阅读:323
1142条   上一页 1 ... 27 28 29 30 31 ... 58 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!