首页 > 其他
2015第20周五
晚上一些突发事件让自己很不开心,不过想想一切都会过去,暂时两天的痛苦换得后续同事关系,个人长远发展有利影响,人生经验的丰富也没什么不好,当下不应该抱怨和悔恨推卸责任,而是应该考虑如何把事情做好。真正做到当下不杂,尽可能让自己在这两天的任务中发挥重要的作用,而不要想太多如何处理关系,如何让自己不吃亏,...
分类:其他   时间:2015-05-15 23:58:57    收藏:0  评论:0  赞:0  阅读:390
第十一天:要做stm32了
一款产品需要维护,加油!搞定,做好新公司的第一个案子! 今天收获: 和同事打羽毛球!认识新同事! 不足: 下班没打卡,忘记咯!慌张!
分类:其他   时间:2015-05-15 23:58:47    收藏:0  评论:0  赞:0  阅读:383
计时器开始和关闭
计时器
分类:其他   时间:2015-05-15 23:58:27    收藏:0  评论:0  赞:0  阅读:359
高效的C指针
高效的C指针 cnyinlinux ? 指针,被称做C语言编程的精华。其闻名数十年的秘诀在于,高效二字。今天我们讲的就是,指针是如何做到了这一切的。 ? 经常你会看到这样的形式: XXX * func(int para1,…);//函数参数...
分类:其他   时间:2015-05-15 22:56:38    收藏:0  评论:0  赞:0  阅读:657
动态调用最新测试类
需求分析:很多时候,我们不经意的经常要写一些测试方法,然而每次花时间都去新建一个项目,显然非常浪费时间。下面我针对测试项目需求,做了一个小型的测试项目,以供经常对一些方法和类做测试使用的项目来使用。...
分类:其他   时间:2015-05-15 22:56:21    收藏:0  评论:0  赞:0  阅读:507
子字符串包含
Description: 给定两个分别由字母组成的字符串A和字符串B,字符串B的长度比字符串A短。请问,如何最快地判断字符串B中所有字母是否都在字符串A里? 为了简单起见,我们规定输入的字符串只包含大写英文字母,请实...
分类:其他   时间:2015-05-15 22:56:07    收藏:0  评论:0  赞:0  阅读:452
LintCode-乘积最大子序列
找出一个序列中乘积最大的连续子序列(至少包含一个数)。 样例 比如, 序列 [2,3,-2,4] 中乘积最大的子序列为 [2,3] ,其乘积为6。 分析:访问到每个点的时候,以该点为子序列的末尾的乘积,要么是该点本身,要么是该点乘以以前一点为末尾的序列,注意乘积负负得正,故需要记录前面的最大最小值。 代码: class Solution { public: /** ...
分类:其他   时间:2015-05-15 22:54:57    收藏:0  评论:0  赞:0  阅读:508
dll的内存申请和释放问题--Debug程序正常而Release程序崩溃
C++编程中经常遇到这样的需求:主函数需要调用一个dll库函数并返回一块大小不定的存储着处理结果的内存,这时容易想到两种选择:一是使用vector的引用作为形参,二是使用指针,在主函数中定义指针,而在dll库函数中申请内存。...
分类:其他   时间:2015-05-15 22:54:27    收藏:0  评论:0  赞:0  阅读:371
初级驱动模板之实现【驱动模板信息】
博客:http://blog.csdn.net/muyang_ren /************************************************************************* > File Name: hello.c > Author: 梁惠涌 > Addr: > Created Time: 2015年05月15日 星期五 20时16分57秒...
分类:其他   时间:2015-05-15 22:53:37    收藏:0  评论:0  赞:0  阅读:253
错误代码: 1449 The user specified as a definer ('root'@'%') does not exist
1、错误描述 1 queries executed, 0 success, 1 errors, 0 warnings 查询:call insertDate() 错误代码: 1449 The user specified as a definer ('root'@'%') does not exist 执行耗时 : 0 sec 传送时间 : 0 sec 总耗时 : 0.17...
分类:其他   时间:2015-05-15 22:53:27    收藏:0  评论:0  赞:0  阅读:413
Scheme change not implemented
1、错误描述 2、错误原因 3、解决办法...
分类:其他   时间:2015-05-15 22:52:57    收藏:0  评论:0  赞:0  阅读:399
【FZU】Problem 2056 最大正方形
这题的关键就是预处理矩阵利用 dp[i][j] = dp[i - 1][j] + dp[i][j - 1] - dp[i-1][j-1] 递推出矩阵,使得我们以后每次已经利用O(1)的复杂度计算任意一块矩阵 之后枚举正方形左上角的坐标二分边长,时间复杂度为n^2 log(n) #include #include #include using namespace std; const int...
分类:其他   时间:2015-05-15 22:52:33    收藏:0  评论:0  赞:0  阅读:331
【FZU】Problem 2059 MM(离线处理并查集)
离线处理,并查集 #include #include #include using namespace std; const int maxn = 100005; struct Node{ int id,value; }node[maxn],input[maxn]; bool cmp(Node p,Node q){ return p.value > q.value;...
分类:其他   时间:2015-05-15 22:52:26    收藏:0  评论:0  赞:0  阅读:358
Attribute name "aphmodel" associated with an element type "mxg" must be followed by the ' = ' charac
1、错误描述 org.apache.batik.transcoder.TranscoderException: null Enclosed Exception: Attribute name "aphmodel" associated with an element type "mxg" must be followed by the ' = ' character. at org.apach...
分类:其他   时间:2015-05-15 22:52:06    收藏:0  评论:0  赞:0  阅读:597
求三个数值的中间值的宏定义
怎么用一个宏来求三个数值的中间值呢?请看:...
分类:其他   时间:2015-05-15 22:51:47    收藏:0  评论:0  赞:0  阅读:288
Column 'id' in where clause is ambiguous
1、错误描述 org.hibernate.exception.ConstraintViolationException: error executing work at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:72) at org.hiber...
分类:其他   时间:2015-05-15 22:51:27    收藏:0  评论:0  赞:0  阅读:1085
树的子结构
题目:输入两颗二叉树A和B,判断B是不是A的子结构。二叉树结点的定义如下: struct BinaryTreeNode{ int m_nValue; BinaryTreeNode *m_pLeft; BinaryTreeNode *m_pRight; }; //在数A中查找与树B根结点值相同的结点,然后递归判断,查找过程也是递归 bool HasSubTree(BinaryTreeN...
分类:其他   时间:2015-05-15 22:51:17    收藏:0  评论:0  赞:0  阅读:312
Codeforces544E:Remembering Strings(状态压缩)
You have multiset of n strings of the same length, consisting of lowercase English letters. We will say that those strings are easy to remember if for each string there is some position i and some l...
分类:其他   时间:2015-05-15 22:51:07    收藏:0  评论:0  赞:0  阅读:341
Libsvm自定义核函数【转】
1. 使用libsvm工具箱时,可以指定使用工具箱自带的一些核函数(-t参数),主要有:-t kernel_type : set type of kernel function (default 2)0 -- linear: u'*v1 -- polynomial: (gamma*u'*v + co...
分类:其他   时间:2015-05-15 22:48:47    收藏:0  评论:0  赞:0  阅读:358
phonegap
CDVPlugin 类是所有 Cordova 类均必须扩展的父类。CDVPlugin 类通过 PhoneGAP API 封装本机 JavaScript 通信所需的所有必要逻辑。PhoneGap.exec函数可让您调用该新类上的函数。CDVPlugin 类包含一个名为writeJavascript的核...
分类:其他   时间:2015-05-15 22:47:57    收藏:0  评论:0  赞:0  阅读:300
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!