在做操作系统作业的时候,需要把十进制的数转换成八进制,在网上巧遇到一个十进制数转换成八进制的函数:oid tran(int a) { if(!a)return ; tran(a/8); cout < <a%8; } 然后我把它改成万能进制转...
分类:
其他好文 时间:
2014-10-13 18:58:42
阅读次数:
199
Linq To Sql 多条件查询string proName = this.txtName.Text.Trim();string lowPrice = this.txtLowPrice.Text.Trim();string highPrice = this.txtHighPrice.Text.Tr...
分类:
数据库 时间:
2014-10-12 20:11:08
阅读次数:
251
注意中间的减枝,还需要用一个tr[i]记录结点的值,用col[i]记录结点区间是否被全覆盖。
#include
#include
#include
using namespace std;
const int maxn = 111111;
const int maxd = 100001;
#define lson pos<<1
#define rson pos<<1|1
int col[maxn...
分类:
其他好文 时间:
2014-10-12 19:28:38
阅读次数:
232
tRNAscan-SE是一款可以在基因组上扫描tRNA的序列,也就是说你给定一组基因序列(fasta数据格式),可以用这个软件去预测这个序列是不是tRNA.具体的实现原理,我不搞生物,所以也就不太明白。tRNAscan-SE是在linux下运行的。 tRNAscan-SE有两种使用方法。 1)tR....
分类:
其他好文 时间:
2014-10-12 12:12:27
阅读次数:
1037
题目:Binary Tree Inorder Traversal二叉树的中序遍历,和前序、中序一样的处理方式,代码见下: 1 struct TreeNode { 2 int val; 3 TreeNode* left; 4 TreeNode* ...
分类:
其他好文 时间:
2014-10-11 22:03:26
阅读次数:
233
动态规划class Solution: # @param triangle, a list of lists of integers # @return an integer def minimumTotal(self, triangle): depth=len(tr...
分类:
其他好文 时间:
2014-10-10 20:59:14
阅读次数:
202
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ? <html xmlns="http://www.w3.org/1999/xhtml"> ? <head runat="server"> ? ...
分类:
Web程序 时间:
2014-10-10 20:32:14
阅读次数:
203
1、测试类要继承ActivityInstrumentationTestCase22、构造方法中super("包名", 测试类类名.class);3、setUp方法中solo = new Solo(getInstrumentation(), getActivity());4、tearDown方法中tr...
分类:
其他好文 时间:
2014-10-10 17:24:14
阅读次数:
318
dw cs5.5序列号 1192-1313-4240-0415-2225-5323(我用的这个) 1192-1756-8921-7408-0509-4870/ 1192-1321-8328-4108-7860-1096 Dreamweaver CS5.5 1192-1748-4336-7812-0747-1450 1192-1104-6695-2087-1795-1247 ...
分类:
其他好文 时间:
2014-10-09 23:00:58
阅读次数:
198