开发GPS平台的时候,必须要首先阅读交通部的jt/t 796 , jt/t808和jt/t809的文档,以此作为自己的功能设计的需求来源,行业需求或用户需求是排在后面的。很多开发团队做出来的平台为什么不能过检测,就是因为没有沉下心来,仔细阅读文档,以为是个概念,可以随性而来,在设计的时候,过于偏向行...
分类:
其他好文 时间:
2015-06-05 15:12:30
阅读次数:
1620
问题描述:在eclipse下运行hadoop项目,没有输出日志,警告如下,意为没有找到log4j文件。log4j:WARN No appenders could be found for logger (org.apache.hadoop.util.Shell).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN S...
分类:
其他好文 时间:
2015-06-05 14:07:34
阅读次数:
381
下载openwrt项目源码,参考http://blog.csdn.net/u011641885/article/details/46348267编译交叉工具链:进入工作目录,执行make menuconfig,选择编译交叉工具链,如图保存,退出,执行make V=99 命令,等待编译完成编译之后的交叉工具链是一个压缩包,在工作目录的bin目录下,如图此压缩包需要解压才能使用。(根据需要,可以把解压...
分类:
其他好文 时间:
2015-06-05 14:05:23
阅读次数:
197
查找某一结点的邻居: virtual int firstNbr(int i) { return nextNbr(i, n); } //首个邻接顶点
virtual int nextNbr(int i, int j) //相对于顶点j的下一邻接顶点
{ while ((-1 < j) && (!exists(i, --j))); return j; } //逆向线性试探(改用邻接表可提...
分类:
其他好文 时间:
2015-06-05 14:06:02
阅读次数:
170
Remove Nth Node From End of List
题目:
Given a linked list, remove the nth node from the end of list and return its head.
For example,
Given linked list: 1->2->3->4->5, and n = 2.
After r...
分类:
其他好文 时间:
2015-06-05 14:07:20
阅读次数:
172
题意:n个同学,一些男女同学会有缘分成为情侣,求集合中不存在有缘成为情侣的最大同学数。
分析:独立集,图的顶点集的子集,其中任意两点不相邻;
二分图:最大独立集 = 顶点数 - 最大匹配数。
本题是从整个点集搜索,并不是将点集分开成(A)(B),即(1->2)(2->1)对称存在,所以相当于搜索了两遍。因此真正最大匹配数等于最大匹配数/2。
#include
using names...
分类:
其他好文 时间:
2015-06-05 14:05:09
阅读次数:
136
Valid Parentheses
题目:
Given a string containing just the characters ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[’ and ‘]’, determine if the input string is valid.
The brackets must close in the correct order, “()”...
分类:
其他好文 时间:
2015-06-05 14:07:10
阅读次数:
117
Merge Two Sorted Lists
题目:
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. 题意:
合并两个排序过的链表 思路:...
分类:
其他好文 时间:
2015-06-05 14:05:27
阅读次数:
107
Fibsieve had a fantabulous (yes, it’s an actual word) birthday party this year. He had so many gifts that he was actually thinking of not having a party next year.Among these gifts there was an N x N g...
分类:
其他好文 时间:
2015-06-05 14:06:16
阅读次数:
141
启动tftp软件,并设置固件所在目录(Current Dircctory)和服务器IP(Service interface),服务器指的是PC机,如图: 开发板串口,网口与PC相连,启动开发板进入uboot,选择对应烧写方式...
分类:
其他好文 时间:
2015-06-05 14:06:17
阅读次数:
370
此Demo有一个奇葩的bug
06-05 12:50:44.955: E/AndroidRuntime(16374): Caused by: android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@41d0c028 is not valid; is you...
分类:
其他好文 时间:
2015-06-05 14:02:33
阅读次数:
134
The Vampires and Lykans are fighting each other to death. The war has become so fierce that, none knows who will win. The humans want to know who will survive finally. But humans are afraid of going to...
分类:
其他好文 时间:
2015-06-05 14:04:23
阅读次数:
126
进入http://downloads.openwrt.org/barrier_breaker/14.07/网站找到符合处理器型号的软件源。参考下图:
找到之后编辑/etc/opkg.conf 文件,内容如下:src/gz barrier_breaker_base http://downloads.openwrt.org/barrier_breaker/14.07/ramips/rt305x/pa...
分类:
其他好文 时间:
2015-06-05 14:04:41
阅读次数:
620
平台:瑞芯的rk3288SDK:4.4/5.0/5.1作者:fulinux*****本文允许转载,不过请注明出处:http://blog.csdn.net/fulinus****rk3288的sdk是有支持ov8856的所以你要做的工作并不多。我手上有一个ov8859的模组,如图所示:小板子的一侧有senor的为正面,将正面靠近mipi接口里面一排的电阻(0欧姆),贴到反面相同的位置,如图:2、模...
分类:
其他好文 时间:
2015-06-05 14:02:40
阅读次数:
353
题目大意:给定k(1≤k≤100)k(1\leq k\leq100),要求构造一张简单无向连通图,使得存在一个桥,且每个点的度数都为kk
kk为偶数时无解
证明:
将这个图缩边双,可以得到一棵树
那么一定存在一个叶节点,只连接一条桥边
那么这个边双内部所有点度数之和为偶数 除掉连出去的桥边外度数之和为奇数 故不合法
然后kk为奇数的时候我们只需要构造两个对称的边双被一条桥边连接的图就行了...
分类:
其他好文 时间:
2015-06-05 14:01:30
阅读次数:
84
自定义progressdialog加载动画,这里还有旋转的加载条,美团,多个图片动画...
分类:
其他好文 时间:
2015-06-05 14:01:05
阅读次数:
101
记得高二那年,我变化很大,我是一个从小爸妈就不在身边,和爷爷那您在一起的,再加上也没怎么和别人接触过,那时候因为玩一些游戏,只在游戏中和别人敞开心扉,加上自己内心脆弱,每次和女生说话都感觉别扭,所以说我当时的心可以说是很小很小,当时我很在意别人怎么看我,但是总是说自己不在意;会在意我穿的鞋是什么牌子的(因为了解的少,那时候也不认识几个牌子)。我每天会在意我看书的时候别人会不会说我笨.......,...
分类:
其他好文 时间:
2015-06-05 14:01:55
阅读次数:
85