Every child has known God, not the God of names, not the God of don'ts, but the God who only knows four words and keeps repeating them, saying,'Come dance with me. Come, dance with me.'
摘要:
题目来源:To the Max题目大意:给定一个N*N的矩阵,求该矩阵中的某一个矩形,该矩形内各元素之和最大,即最大子矩阵问题。解题方法:最大子序列之和的扩展解题步骤:1、定义一个N*N的矩阵state,state[j][k]用来存放矩阵的某行中第j到k个元素的最大值;2、对于行如何处理呢?我们可以... 阅读全文
摘要:
题目来源:Trees Made to Order题目大意:根据下面的规则给一棵二叉树编号:规则1:如果二叉树为空,则编号为0;规则2:如果二叉树只有一个节点,则编号为1;规则3:所有含有m个节点的二叉树的编号小于所有含有m+1个节点的二叉树的编号;规则4:如果一棵含有m个节点的二叉树(左子树为L,右... 阅读全文
摘要:
The usage of bind is to define a specified scope for called function. Because the key this is easy to refer another objet, experically window, instead... 阅读全文
摘要:
Although apply and call can implement same function. However, there is a litter different between them.Please pay attention to look at the examples be... 阅读全文
摘要:
vim toolis a commom editor, for the sake of improving effeicient, it is necessary to configurate vim config file. The following comands will help you.... 阅读全文