Firstly, they are a very good fit, and a favorite pilot enthusiasts.Vacuuming question is not one of the sexiest do? Home. Therefore, it is important ...
分类:
其他好文 时间:
2014-07-29 13:29:48
阅读次数:
271
链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5078
题意:有N个点组成无向图,每个点的度为ai,问是否能组成图,并且组成的图方式是否唯一。
思路:Havel_Hakimi定理的应用。
(以下转载)
1,Havel-Hakimi定理主要用来判定一个给定的序列是否是可图的。
2,首先介绍一下度序列:若把图 ...
分类:
其他好文 时间:
2014-07-29 13:01:28
阅读次数:
319
spin.js,ruby上使用例子<divid="spinBody">
<div>
<%form_tag"/login",:id=>"login_form"do-%>
<tablewidth="100%"cellpadding="3"style="margin-top:15px;">
<tr>
<thstyle="width:80px;"><%=t"a.loginid"%></th>
<td..
分类:
Web程序 时间:
2014-07-28 16:47:24
阅读次数:
294
Description
Ignatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher gives him a deadline of handing in the homework. If Ignatius hands in the ho...
分类:
其他好文 时间:
2014-07-28 16:04:23
阅读次数:
262
一 Words 1 recession-proof 抗衰退 2 desperate 拼命的,急切的,极度渴望的 e.g. Desperate with anxiety,Bob and Hans searched the whole house.焦急万分的鲍勃和汉斯把整座房子找了个遍 3 vary 变...
分类:
其他好文 时间:
2014-07-28 15:18:53
阅读次数:
298
在python2.5+中可以用with来保证关闭打开的文件with open('hello.txt') as f: do some file operations为什么要引入with呢?在之前如果要保证关闭文件需要这样:f = open('hello.txt')try: do some fi...
分类:
编程语言 时间:
2014-07-28 11:36:00
阅读次数:
305
Definition of Supervised Learning and unsupervised learningIdea of supervised learning is to teach computer how to do something.Idea of unsupervised l...
分类:
其他好文 时间:
2014-07-28 11:32:10
阅读次数:
183
//for//<#initialization#>变量初始化//<#condition#>循环条件//<#increment#>//变量增量//<#statements#>循环体,每次反复执行的内容。//循环变量的名字先以i,j,k,为主。//while和dowhile的区别//对于while循环,需要先判断循环条件,然后执行循环体..
分类:
其他好文 时间:
2014-07-28 00:33:30
阅读次数:
206
atitit.编辑表单的实现最佳实践dwr jq easyui
1. 提交表单 1
2. 表单验证 1
3. 数据保存使用meger方式取代save&update方式 1
3.1. Filter::(mp>>do) 1
3.2. 2.convert(mp>>do) 2
3.3. valider 2
3.4. 默认值设置问题..(只do) 2
4. 表单回显(编辑模式) 2
...
分类:
其他好文 时间:
2014-07-28 00:20:29
阅读次数:
265
题目:Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allocate extra space....
分类:
编程语言 时间:
2014-07-27 21:26:35
阅读次数:
267