树形最大上升子序列这里面的上生子序列logn的地方能当模板使 good#include#include#include#include#includeusing namespace std;const int maxa = 6006;vectore[maxa];int d[maxa];int a[m...
分类:
其他好文 时间:
2014-12-10 14:09:12
阅读次数:
88
Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For example, given L being 1→2→3→4→5→6,...
分类:
其他好文 时间:
2014-12-09 21:19:43
阅读次数:
309
概述:以前对于XML与Java对象的转换了解比较少,今天学微信接口API时刚好接触到,所以就写下来了,初学者望大家见谅哈。1.既然是Java对象与XML的转换,所以就需要有个Java类来获得对象,本例子主要涉及到BOY类和测试运行的类2.代码2.1开始第一步的简单学习@XmlRootElement@XmlA..
分类:
编程语言 时间:
2014-12-09 15:56:39
阅读次数:
231
今天写了一个Python的类,如下: 1 #-*- coding:utf-8 -*- 2 3 class boy(): 4 gender = 1 5 6 def __init__(self,name): 7 self.name = name 8 ...
分类:
编程语言 时间:
2014-12-08 19:34:09
阅读次数:
157
总体而言,这本书的作者的观点就是,你只有做好了,才会有兴趣,而不是一开始就找可能并不存在的所谓兴趣——好多人就败在不停地找这么一个根本就不存在的兴趣。这个观点简直就是拯救那些乔布斯的粉丝:Following your heart is not always right.事实上,再有意思的兴趣,深入下...
分类:
其他好文 时间:
2014-12-08 17:30:20
阅读次数:
166
原型定义jQuery.fn = jQuery.prototype = { // The current version of jQuery being used jquery: version, constructor: jQuery, // Start with an em...
分类:
其他好文 时间:
2014-12-08 17:04:43
阅读次数:
227
Peter wrote a post a while ago aboutchoosing a good InnoDB log file size. Not to pick on Peter, but the post actually kind of talks about a lot of th...
分类:
数据库 时间:
2014-12-08 02:00:52
阅读次数:
361
Choosing a good InnoDB log file size is key to InnoDB write performance. This can be done by measuring the amount of writes in the redo logs. You can ...
分类:
数据库 时间:
2014-12-07 21:35:33
阅读次数:
274
以下内容都为自己浅显的理解,用作备忘的流水账,所以写的比较混乱。如理解有错误,请帮忙指正 FLUME-NG中没有之前的对文件的实时流SOURCE,只提供了spoolDir的source,这个source的功能监控指定文件夹,放入文件夹内的文件不能再做任何修改(包括修改时间和文件大小),这2个错...
分类:
Web程序 时间:
2014-12-05 15:30:59
阅读次数:
349
机器学习定义 Machine Learning definitionArthur Samuel (1959). Machine Learning:Field of study that gives computers the ability to learn without being explic...
分类:
其他好文 时间:
2014-12-05 00:25:34
阅读次数:
157