之前想边做题边写结题报告,发现有点力不从心,而且很多地方也是一知半解,现在重新做题,重新理解。这篇文章主要起一个目录的作用。128 Longest Consecutive Sequence (Java) [Hard] [Array]
分类:
其他好文 时间:
2015-04-30 10:16:14
阅读次数:
110
To prepare for PAT, the judge sometimes has to generate random passwords for the users. The problem is that there are always some confusing passwords since it is hard to distinguish 1 (one) from l (L ...
分类:
其他好文 时间:
2015-04-29 17:14:16
阅读次数:
131
Given an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm should ru...
分类:
其他好文 时间:
2015-04-29 16:37:16
阅读次数:
153
一、基础1、说明:创建数据库CREATE DATABASE database-name2、说明:删除数据库drop database dbname3、说明:备份sql server---创建 备份数据的deviceUSE masterEXEC sp_addumpdevice 'disk', 'tes...
分类:
数据库 时间:
2015-04-28 22:27:45
阅读次数:
241
MIT 操作系统实验 MIT JOS lab5
Lab 5: File system, Spawn and Shell
Disk Access
The x86 processor uses the IOPL bits in the EFLAGS register to determine whether protectedmode code is...
分类:
其他好文 时间:
2015-04-28 21:03:12
阅读次数:
310
引言 对于SVM的大致原理之前已经讲过了,但是对于公式的推导,很多书都并未做要求,而且在实际应用过程中并未涉及过深,但鉴于台大机器学习课程中讲到了,自己为了巩固自己的学习,也梳理一遍SVM中公式的推导 此处考虑了C,也就是惩罚因子,不再是之前的hard-margin 推导过程 如果是soft-mar...
分类:
其他好文 时间:
2015-04-28 17:40:34
阅读次数:
271
package com.eyugame.modle;
/**
* 外观模式
* @author JYC506
*
*/
public class Computer {
private Cpu cpu;
private Disk disk;
public Computer() {
super();
this.cpu = new Cpu();
this.disk = new ...
分类:
其他好文 时间:
2015-04-28 14:17:00
阅读次数:
115
简要介绍基础语句:1、说明:创建数据库CREATE DATABASE database-name2、说明:删除数据库drop database dbname3、说明:备份sql server--- 创建 备份数据的 deviceUSE masterEXEC sp_addumpdevice 'disk...
分类:
数据库 时间:
2015-04-28 13:51:24
阅读次数:
292
#include
#include
#include
#include
using namespace std;
typedef long long LL;
const int maxn=10010;
int maxd,t,tt;
set sk;
LL ans[maxn],v[maxn];
LL gcd(LL a,LL b){
return b?gcd(b, a%b):a;
}
LL ge...
分类:
其他好文 时间:
2015-04-28 09:48:39
阅读次数:
105