内核移植时遇到这个错误:
end_request: I/O error, dev mtdblock2, sector 0 Buffer I/O error on device mtdblock2, logical block 0
原因分析:由于内核是通过uboot烧写到nandflash中,因此uboot产生的ecc校验码与内核的ecc校验码不同,所以需要关闭内核的ecc校验。
...
分类:
数据库 时间:
2015-05-18 12:57:53
阅读次数:
205
题目:Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree, 1 ...
分类:
其他好文 时间:
2015-05-18 12:41:10
阅读次数:
113
业务需用为数据按倒序排序,当天数据排在以往日期前面,但当天数据需按小时进行升序排列select *from( select vcTitle,dtBeginDate,case when dtBeginDate<=getdate() then 1 else 2 end tt from TableA )....
分类:
数据库 时间:
2015-05-18 12:30:25
阅读次数:
164
这两题很类似,都是在补图上搜索但是由于补图太大我们不能建出来考虑先从一个点搜,每次搜可以搜的点,然后维护一个链表,记录当前还没有搜过的点,搜过之后从链表中删除即可 1 type node=record 2 po,next:longint; 3 end; 4 5 v...
分类:
其他好文 时间:
2015-05-18 12:18:12
阅读次数:
122
1.找到第一符合条件的长度
2.先加上后面的一个元素
3.如果减去前面的一个元素后sum小于target,转到2
3.减去前面的n个元素后符合条件&&减去前面的n+1个元素后不符合条件,获得一个新的长度,跟最小长度相比,小于minLen,更新minLen=newLen
4.若果start<end&&end<nums.length,转至2...
分类:
其他好文 时间:
2015-05-18 10:56:39
阅读次数:
125
1.先获取两段的垂线和x轴组成的容器可以容纳的水量tempSum,并使得maxSum=tempSum;
2.然后再去除两段较小的垂线段,组成新的容器,获得新的可容纳的水量tempSum,并更新maxSum
3.循环直至start==end...
分类:
其他好文 时间:
2015-05-18 10:54:03
阅读次数:
122
Javascript语言精粹之String常用方法分析1.String常用方法分析1.1 String.prototype.slice()slice(start,end)方法复制string的一部分来构造一个新的字符串startThis is bold!';var tags=/[^]+|]*)>/g...
分类:
编程语言 时间:
2015-05-18 10:45:46
阅读次数:
139
发信人: icestonesy (无忧), 信区: Quant标 题: 投行的码工怎么样?发信站: BBS 未名空间站 (Sat May 16 23:25:00 2015, 美东)最近看到不少投行的码工职位,主要是做risk方面。有没有在里面工作的大侠,介绍一下情况?经常听说投行工作辛苦,时间长,这...
分类:
其他好文 时间:
2015-05-18 10:42:57
阅读次数:
178
Given a binary tree, find the maximum path sum.
The path may start and end at any node in the tree.
For example:
Given the below binary tree,
1
/ 2 3
Return 6.
...
分类:
其他好文 时间:
2015-05-18 09:18:17
阅读次数:
102
http://codevs.cn/problem/3728/我们要做的是计算距离为2的有序对权值之和及最大值,最大值好弄,但一一枚举是不可行的,因为na then begin b:=a; a:=x; end else if x>b then b:=x;end;begin rea...
分类:
其他好文 时间:
2015-05-17 21:33:25
阅读次数:
145