解题报告 http://blog.csdn.net/juncoder/article/details/38239367 题目传送门 题意: X个參赛选手,每一个选手有衣服大小的范围,5种大小的队服,求能否使每一个选手都拿到符合自己大小范围的衣服。 思路: X人5种衣服,有的人选的衣服可能大小一样,这 ...
分类:
其他好文 时间:
2017-05-15 19:59:52
阅读次数:
273
http://blog.sina.com.cn/s/blog_68e267e10102v76h.html ...
分类:
其他好文 时间:
2017-05-14 10:57:21
阅读次数:
129
A group of cows grabbed a truck and ventured on an expedition deep into the jungle. Being rather poor drivers, the cows unfortunately managed to run o ...
分类:
其他好文 时间:
2017-05-14 10:25:33
阅读次数:
133
计算机硬件的五大单元 输入单元 输出单元 CPU内部的控制单元 CPU内部的算数逻辑单元 主存储器 其他组件 系统单元 记忆单元 CPU架构 精简指令集 Reduced Instruction Set Computer oracle公司的aparc IBM的PowerArchitecture(如Po ...
分类:
其他好文 时间:
2017-05-13 23:21:37
阅读次数:
229
一 、java虚拟机底层结构详解 我们知道,一个JVM实例的行为不光是它自己的事,还涉及到它的子系统、存储区域、数据类型和指令这些部分,它们描述了JVM的一个抽象的内部体系结构,其目的不光规定实现JVM时它内部的体系结构,更重要的是提供了一种方式,用于严格定义实现时的外部行为。每个JVM都有两种机制 ...
分类:
编程语言 时间:
2017-05-13 16:06:23
阅读次数:
229
Monk's Love for Food Monk's Love for Food Our monk loves food. Hence,he took up position of a manager at Sagar,a restaurant that serves people with de ...
分类:
其他好文 时间:
2017-05-13 12:24:55
阅读次数:
200
Compress an Entire Directory or a Single File Use the following command to compress an entire directory or a single file on Linux. It’ll also compress ...
分类:
系统相关 时间:
2017-05-13 10:02:31
阅读次数:
238
For each prefix of a given string S with N characters (each character has an ASCII code between 97 and 126, inclusive), we want to know whether the pr ...
分类:
其他好文 时间:
2017-05-12 23:07:09
阅读次数:
239
MySQL单个数据库备份:mysqldump--force--opt--single-transaction--lock-tables=false--skip-events--user=root--password=xxxx--routines--databasestestdb>singledb.sqlMySQL所有数据库备份:mysqldump--force--opt--single-transaction--lock-tables=false--skip-events..
分类:
数据库 时间:
2017-05-12 13:20:17
阅读次数:
178
1、对于每条边仅松弛一次2、复杂度低于Bellmall-Ford3、边的权重为非负值4、时间复杂度O(V*lgV)INITIALIZE-SINGLE-SOURCE(G,s)forecahvertexv属于G.Vv.d=MAXINTv.prev=NULLs.d=0伪码:DIJKSTRA(G,w,s)INITIALIZE-SINGLE-SOURCE(G,s)S=NULLQ=G.VwhileQ!=NULLu=EXTRACT-MIN(Q)S..
分类:
其他好文 时间:
2017-05-12 09:37:06
阅读次数:
161