传送门:http://www.lydsy.com/JudgeOnline/problem.php?id=3052 [wc2013]糖果公园 Description Input Output Sample Input Sample Input Sample Input Sample Output 84 ...
分类:
其他好文 时间:
2017-05-27 21:52:25
阅读次数:
291
Sometimes ever, sometimes never. 相聚有时,后会无期。 Maybe love is something we can't touch but we can feel with heart. Five year ago, I met my ex-girlfriend a ...
分类:
其他好文 时间:
2017-05-27 10:46:25
阅读次数:
149
Smith Numbers Background While skimming his phone directory in 1982, Albert Wilansky, a mathematician of Lehigh University , noticed that the telephon ...
分类:
其他好文 时间:
2017-05-27 10:40:34
阅读次数:
184
1.1.2 Ridge Regression(岭回归) 岭回归和普通最小二乘法回归的一个重要差别是前者对系数模的平方进行了限制。例如以下所看到的: In [1]: from sklearn import linear_model In [2]: clf = linear_model.R linear ...
分类:
其他好文 时间:
2017-05-26 23:33:29
阅读次数:
344
题目描述 You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a si ...
分类:
其他好文 时间:
2017-05-26 20:42:56
阅读次数:
207
SVN版本控制服务器搭建 Svn(subversion)是一个开源代码管理的控制系统,用来管理和存储开发的源代码,基于C/S模式。可以单独提供服务,也可以结合http服务来实现。 下面开始搭建svn服务 1.环境准备 (1)安装svn 和 apache 服务,其中mod_dav_svn是用来衔接sv ...
分类:
Web程序 时间:
2017-05-26 20:07:23
阅读次数:
339
一、任务和执行策略之间的隐性耦合 Executor可以将任务的提交和任务的执行策略解耦 只有任务是同类型的且执行时间差别不大,才能发挥最大性能,否则,如将一些耗时长的任务和耗时短的任务放在一个线程池,除非线程池很大,否则会造成死锁等问题 1.线程饥饿死锁 类似于:将两个任务提交给一个单线程池,且两个 ...
分类:
编程语言 时间:
2017-05-26 17:03:37
阅读次数:
213
the squares thus selected sum to a number at least as high as one already chosen by the Sultan. (For those unfamiliar with the rules of chess, this im ...
分类:
其他好文 时间:
2017-05-25 23:19:59
阅读次数:
267
Description There are n walruses standing in a queue in an airport. They are numbered starting from the queue's tail: the 1-st walrus stands at the en ...
分类:
其他好文 时间:
2017-05-25 21:54:18
阅读次数:
246
1、启动Tomcat服务器报错: Several ports (8005, 8080, 8009) required by Tomcat v5.5 Server at localhost are already in use. The server may already be running in ...
分类:
其他好文 时间:
2017-05-25 19:44:13
阅读次数:
214