题目如下:
How Big Is It?
Ian's going to California, and he has to pack his things, including hiscollection of circles. Given a set of circles, your program mustfind the smallest r...
分类:
其他好文 时间:
2014-07-16 17:17:02
阅读次数:
259
Shoemaker's Problem
Shoemaker has N jobs (orders from customers) which he must make. Shoemaker can work on only one job in each day. For each ith job, it is known the integer Ti (1i<=1000...
分类:
其他好文 时间:
2014-07-16 17:12:33
阅读次数:
274
★mdadm是multiple devices admin的简称,它是Linux下的一款标准的软件 RAID 管理工具,作者是Neil Brown我们知道raidtools是Linux下一款经典的用于管理软件 RAID 的工具,但是因为配置/etc/raidtab比较繁琐,而且其功能有限,所以现在越...
分类:
其他好文 时间:
2014-07-16 16:05:22
阅读次数:
227
/*
F - 二分
Time Limit:2000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u
Submit
Status
Description
Farmer John is an astounding accounting wizard and has realized he might run out of mo...
分类:
其他好文 时间:
2014-07-16 13:46:34
阅读次数:
199
最小公倍数=两个数的乘积/两个数的最大公约数。
接上篇求最大公约数方法,最小公倍数的代码如下:
public class LCM {
//最小公倍数=两数乘积/最大公约数
public static int lcm(int m, int n){
return m*n/GCD.gcd(m,n);
}
public static void main(String[] args){
...
分类:
其他好文 时间:
2014-07-16 09:39:09
阅读次数:
256
DZY Loves ColorsTime Limit:2000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uSubmitStatusAppoint description:DescriptionDZY loves colors, and he...
分类:
其他好文 时间:
2014-07-16 00:35:09
阅读次数:
486
Fence RailsBurch, Kolstad, and SchrijversFarmer John is trying to erect a fence around part of his field. He has decided on the shape of the fence and...
分类:
其他好文 时间:
2014-07-16 00:08:30
阅读次数:
367
Balance
Time Limit: 1000MS
Memory Limit: 30000K
Total Submissions: 10241
Accepted: 6330
Description
Gigel has a strange "balance" and he wants to poise it. Actually, ...
分类:
其他好文 时间:
2014-07-15 22:42:22
阅读次数:
272
高维数据的可伸缩最近邻算法FLANN
1. 简介
在计算机视觉和机器学习中,对于一个高维特征,找到训练数据中的最近邻计算代价是昂贵的。对于高维特征,目前来说最有效的方法是 the randomized k-d forest和the priority search k-means tree,而对于二值特征的匹配 multiple hierarchical clusteringtrees则...
分类:
其他好文 时间:
2014-07-15 10:42:24
阅读次数:
727
一、Mysql5.6新特性....复制功能的改进⒈支持多线程复制,(slave-parallel-workers=00:表示禁用多线程功能;)事实上是针对每个database开启相应的独立线程。即每个库有一个单独的(sqlthread),如果线上业务中,只有一个database或者绝大多数压力集中在个别database的话,多线..
分类:
数据库 时间:
2014-07-14 12:30:47
阅读次数:
444