题目描述Up to thirty couples will attend a wedding feast, at which they will be seated on either side of a long table. The bride and groom sit at one end,...
分类:
其他好文 时间:
2014-06-24 09:49:19
阅读次数:
225
Oracle的Blob字段比较特殊,他比long字段的性能要好很多,可以用来保存例如图片之类的二进制数据。写入Blob字段和写入其它类型字段的方式非常不同,因为Blob自身有一个cursor,你必须使用cursor对blob进行操作,因而你在写入Blob之前,必须获得cursor才能进行写入,那么如...
分类:
数据库 时间:
2014-06-24 09:11:02
阅读次数:
333
曾今写过一个坑货的数组方法function array_insert($myarray,$value,$position=0){ $fore=($position==0)?array():array_splice($myarray,0,$position); $fore[]=$value; $ret...
分类:
Web程序 时间:
2014-06-23 00:47:05
阅读次数:
265
Given a sorted array of integers, find the starting and ending position of a given target value.
Your algorithm's runtime complexity must be in the order of O(log n).
If the target is not found ...
分类:
其他好文 时间:
2014-06-22 21:47:15
阅读次数:
269
驱动代码内部相关关键字等如KillTimer、 LPVOID —指针、BOOL和bool、NEW分配内存
、HWND、UNIT、、__cdecl 、_stdcall、PASCAL 、_fastcall、_thiscall的区别与联系、
typedef LONG_PTR LPARAM;typedef UINT_PTR WPARAM;等...
分类:
其他好文 时间:
2014-06-22 21:18:54
阅读次数:
244
自由拖动的DIV层方块
#draggable{
background-color:green;
font-size:9pt;
padding:30px;
color:white;
width:360px;
height:224px;
position:absolute;
}
var rDrag = {
o:null,
init:function(o){
o.onmoused...
分类:
其他好文 时间:
2014-06-22 19:28:18
阅读次数:
292
组里面花了大价钱请人设计了一套UI的solution,不过是以网站思路设计的报表样式,但是该报表UI设计团队本身由于没有QlikView的背景,因此设计出来的报表不知道能不能再QlikView中实现,因此我等Developer们就开始了研究之路。
第一个研究的对象是要将图例放在图表的下面,但是QlikView本身设置里面只允许在图表右侧上中下。不能设置在整个图表的下方或者左边。当然首先要注...
分类:
其他好文 时间:
2014-06-22 17:40:26
阅读次数:
217
关于这个题想说一下,刚开始准备按照有一个含有n个数的非递减序列,每个数最大值为m,数字可以重复,有多少种这样的序列,像是一个蛮复杂的排列组合
其实这道题,从left bottom到right up只能向右或者向上,也就是m+n个格子里面取m个格子写右,n个格子写上,就成了个很2的排列组合问题
值得强调的是,这个题求组合数是用分数相乘来求的,怕double丢精度可以末尾+0.5然后转化为long...
分类:
其他好文 时间:
2014-06-22 16:53:21
阅读次数:
135
Help Me with the Game
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 3210
Accepted: 2071
Description
Your task is to read a picture of a chessboard position...
分类:
其他好文 时间:
2014-06-22 00:22:45
阅读次数:
382
Divide two integers without using multiplication, division and mod operator.Analysis: 我自己用binary search做老是出TLE的错误,看了网上思路,有了如下方法:long did = dividend, l...
分类:
其他好文 时间:
2014-06-21 16:06:48
阅读次数:
144