码迷,mamicode.com
首页 >  
搜索关键字:one or more sections    ( 34236个结果
hust 1223 Friends
题目描述Nancy, the leader of a group, always participates in many different kinds of competitions. One day, she decides to choose some of her group member...
分类:其他好文   时间:2014-05-08 12:24:14    阅读次数:353
基于地理位置信息的traceroute
我们在机房选择、测试网络的质量的时候,往往只根据跳数、延迟、抖动、网络吞吐量等指标来衡量,很多时候跳数并不能完全显示网络拓扑优劣,于是写了个traceroute结合whois的小脚本来直观显示每一跳所处的网络位置。 需要安装mtr和whois 脚本: [root@localhost ~]# more  geotrace.sh          #!/bin/bash ec...
分类:其他好文   时间:2014-05-07 23:56:29    阅读次数:474
hdu 4283 You Are the One 区间dp
参考了别人的思路dp[i][j]表示从第i个人到第j个人这段区间的最小花费是只考虑这j-i+1个人,不需要考虑前面有多少人)那么对于dp[i][j]的第i个人,、就有可能第1个上场,也可以第j-i+1个上场。考虑第K个上场即在i+1之后的K-1个人是率先上场的,那么就出现了一个子问题 dp[i+1]...
分类:其他好文   时间:2014-05-07 21:00:09    阅读次数:311
LeetCode:Maximum Subarray
题目链接 Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array [?2,1,?3,4,...
分类:其他好文   时间:2014-05-07 16:42:42    阅读次数:287
Visulalization Boost Voronoi in OpenSceneGraph
Abstract. One of the important features of the boost polygon library is the implementation of the generic sweepline algorithm to construct Voronoi dia...
分类:其他好文   时间:2014-05-07 13:43:36    阅读次数:535
poj 3469
Dual Core CPUTime Limit:15000MSMemory Limit:131072KTotal Submissions:18120Accepted:7818Case Time Limit:5000MSDescriptionAs more and more computers are...
分类:其他好文   时间:2014-05-07 13:35:17    阅读次数:227
ProjectEuler_P13
Problem:Work out the first ten digits of the sum of the following one-hundred 50-digit numbers.3710728753390210279879799822083759024651013574025046376...
分类:其他好文   时间:2014-05-07 13:34:38    阅读次数:299
mutiple cycle cpu (转)
言简意赅A single instruction enters the CPU at the Fetch stage and the PC is incremented in one clock cycle. In the next clock cycle, the instruction move...
分类:其他好文   时间:2014-05-07 11:23:20    阅读次数:417
hdu 1856 More is better
http://acm.hdu.edu.cn/showproblem.php?pid=1856这道题就是求一个集合里面最大的个数。 基本的并查集加一个步骤,将合并后的元素的个数保存在新的树根中。 1 #include 2 #include 3 #include 4 #define maxn 10...
分类:其他好文   时间:2014-05-07 00:47:33    阅读次数:370
几种通过JDBC操作数据库的方法,以及返回数据的处理
1.SQL TO String :只返回一个查询结果 例如查询某条记录的总数 rs = stmt.executeQuery(replacedCommand); if (rs != null && rs.next()) // rs only contains one row and one colu....
分类:数据库   时间:2014-05-07 00:18:30    阅读次数:600
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!