链接: https://vjudge.net/problem/POJ 3186 题意: FJ has purchased N (1 include include include // include include include include include include include i ...
分类:
其他好文 时间:
2019-10-13 00:23:59
阅读次数:
104
无向图概念:(这里的x->y表示x和y之间有一条无向边)1.桥:对于一个无向图,如果删除某条边后,该图的连通分量增加,则称这条边为桥 比如1->2->3->4这样一个简单得图一共有3个桥,分别是1->2,2->3,3->4 1->2->3->4->1 这样就没有桥,因为删除任意一个边,任意两点还可以 ...
分类:
其他好文 时间:
2019-10-12 22:53:05
阅读次数:
95
链接: https://vjudge.net/problem/POJ 3616 题意: Bessie is such a hard working cow. In fact, she is so focused on maximizing her productivity that she deci ...
分类:
其他好文 时间:
2019-10-12 22:37:25
阅读次数:
86
链接:https://vjudge.net/problem/POJ-2960 题意:每行输入首先给出一个数k,代表集合S的大小,接下来紧跟着k个数,表示集合S里的数。接下来一行数为m代表有m个游戏,后面m行每行第一个数字为n代表有n堆石子,后面紧跟着n个数代表每堆石子的个数。多组数据,做到0结束 对 ...
分类:
其他好文 时间:
2019-10-12 22:34:56
阅读次数:
85
确保集群状态正常(具体配置过程略):可参照https://blog.51cto.com/jdonghong/244175上半部分配置。CEPH环境配置开始部署RBDorRADOSBlockDevice客户端安装ceph(本案例客户端为192.168.27.210,192.168.26.112)ceph-deployinstallbddb.com推送配置文件到客户端。[root@masteridc-
分类:
其他好文 时间:
2019-10-12 12:57:53
阅读次数:
1161
Input 第一个输入的数字T,代表着T组样例。 接下来输入一个N, 代表一共有N个城镇。 然后读入一个N N的矩阵,第i行第j列代表从i到j高速公路的距离。 Output 对于每个测试用例,您应输出一个包含整数的行,该整数是要构建的最长道路的长度,以便连接所有村庄,并且此值最小。 Sample I ...
分类:
其他好文 时间:
2019-10-12 11:02:38
阅读次数:
82
题意 有多种汇币,汇币之间可以交换,这需要手续费,当你用100A币交换B币时,A到B的汇率是29.75,手续费是0.39,那么你可以得到(100 0.39) 29.75 = 2963.3975 B币。问s币的金额经过交换最终得到的s币金额数能否增加 货币的交换是可以重复多次的,所以我们需要找出是否存 ...
分类:
其他好文 时间:
2019-10-12 10:56:30
阅读次数:
86
题目链接: "POJ 2387" Description Bessie is out in the field and wants to get back to the barn to get as much sleep as possible before Farmer John wakes he ...
分类:
其他好文 时间:
2019-10-11 23:38:12
阅读次数:
97
题目链接: "POJ 2253" Description Freddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting on another stone ...
分类:
其他好文 时间:
2019-10-11 23:11:22
阅读次数:
97