big-endian vs little-endian
分类:
其他好文 时间:
2014-07-16 22:55:10
阅读次数:
227
工作之余闲来无聊,于是就有了用JS来实现算法演示的想法,很久以前用JS实现过选择排序,不过源程序找不到了! 汉诺塔的递归算法:void move(int n,char a,char b,char c){ if(n==1) printf("\t%c->%c\n",a,c); ...
分类:
其他好文 时间:
2014-07-16 20:57:51
阅读次数:
228
Big NumberTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 25183Accepted Submission(s): 11426Proble...
分类:
其他好文 时间:
2014-07-16 20:08:33
阅读次数:
137
原文地址I’m a minimalist, and I don’t like to complicate software too early and unnecessarily. And adding components to a software system is one of the th...
分类:
其他好文 时间:
2014-07-13 19:59:16
阅读次数:
480
使用asmcmd cp命令 把datafile从文件系统移动(move)到asm磁盘组中--针对11gR2...
分类:
移动开发 时间:
2014-07-13 16:28:01
阅读次数:
190
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.
For example, given the following triangle
[
[2],
[3,4],
[...
分类:
其他好文 时间:
2014-07-13 16:01:42
阅读次数:
209
也是多重背包可行性问题。时间复杂度为 O(VN); V=背包容量,N=物品数量。
题意是说给你N个物品,每个物品有不同的价值与数量。分给两个院。
问你怎么分配才让能让价值尽量相等。
跟我上一篇解题报告是一种类型。以价值为费用,总价值的一半为背包容量。
不过物品有点多,直接开数组可能会超内存。我就用了滚动数组。
需要注意的是 you should guarant...
分类:
其他好文 时间:
2014-07-13 15:45:40
阅读次数:
208
在rac中,使用asmcmd命令从 文件系统 move system datafile 到asm磁盘组的方法...
分类:
其他好文 时间:
2014-07-13 15:39:32
阅读次数:
366
You can Solve a Geometry Problem too
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 7027 Accepted Submission(s): 3397
Problem Descript...
分类:
其他好文 时间:
2014-07-13 14:07:29
阅读次数:
182
黑客和敏捷开发
前段时间读了一下Paul Graham的《黑客与画家》(Hackers and Painters: Big Ideas from the Computer Age),虽说这书已经出版良久了,但是读书往往是不讲究时间的,有收获就好。这本书是文集,相对内容比较散,针对的也并非是业内人士,所以不同人在不同角度可以把这本书看出千滋百味。但不管怎么说,我觉得绝大多数人,都可以从这本书中收获...
分类:
其他好文 时间:
2014-07-12 21:26:07
阅读次数:
233