码迷,mamicode.com
首页 >  
搜索关键字:poj 2251 dungeon mas    ( 20663个结果
saltstack简单使用
安装, "官方文档" 1. 配置阿里云的saltstack镜像仓库 2. 主安装salt master salt minion salt api 3. 从安装salt minion 4. 关闭防火墙 或者打开端口 firewall or iptables 5. 启动服务 配置, "官方文档" mas ...
分类:其他好文   时间:2020-03-28 00:58:35    阅读次数:94
挑战程序设计竞赛3.3例题:Crane POJ - 2991
ACM has bought a new crane (crane -- je?áb) . The crane consists of n segments of various lengths, connected by flexible joints. The end of the i-th s ...
分类:其他好文   时间:2020-03-26 16:36:32    阅读次数:93
G - Shuffle'm Up POJ - 3087
A common pastime for poker players at a poker table is to shuffle stacks of chips. Shuffling chips is performed by starting with two stacks of poker c ...
分类:其他好文   时间:2020-03-25 01:13:56    阅读次数:53
POJ 1182食物链 种类并查集的经典
题目链接:http://icpc.njust.edu.cn/Problem/Pku/1182/ 题意:给出动物之间的关系,有几种询问方式,问是真话还是假话。 定义三种偏移关系: x->y 偏移量0时 x和y同类 x->y 偏移量1时 x被y吃 x->y 偏移量2时 x吃y 定义 rela[x]=rx ...
分类:其他好文   时间:2020-03-25 01:06:48    阅读次数:66
图论1-k短路
相信大家都已经会求最短路了,k短路是在最短路熟练掌握的情况下进行的一个进阶,要求把最短路的过程想的十分通透才能学的懂。 先摆出一道例题做引例: http://poj.org/problem?id=2449 POJ2449 Remmarguts' Date 大概题意就是求从s到t的第k短路,注意要反着 ...
分类:其他好文   时间:2020-03-23 17:21:09    阅读次数:83
POJ 1328(Radar Installation)
题目链接:http://poj.org/problem?id=1328 思路:贪心 一开始的思路: 1. 以第一个岛屿为圆心,d为半径画圆,记与x轴的焦点中较大的那个为第一个雷达的位置; 2. 以这个雷达位置为圆心,d为半径画圆,记下之后的岛屿中第一个不能被覆盖的; 3. 依次这样下去,直到不能找到 ...
分类:其他好文   时间:2020-03-23 15:22:04    阅读次数:70
D - Fliptile POJ - 3279
Farmer John knows that an intellectually satisfied cow is a happy cow who will give more milk. He has arranged a brainy activity for cows in which the ...
分类:其他好文   时间:2020-03-23 13:47:05    阅读次数:74
POJ 2492 A Bug's Life (种类并查集)
A Bug's Life Time Limit: 10000MS Memory Limit: 65536K Total Submissions: 52818 Accepted: 16983 Description Background Professor Hopper is researching ...
分类:其他好文   时间:2020-03-23 11:16:28    阅读次数:78
POJ 1703 Find them, Catch them (种类并查集)
Find them, Catch them Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 61806 Accepted: 18734 Description The police office in Tadu City deci ...
分类:其他好文   时间:2020-03-23 00:14:47    阅读次数:66
POJ3207(SAT+模型3)
题目链接:https://vjudge.net/problem/POJ-3207 题目意思:有一个圆,给出一些边连接着两个点,边可以从圆里连,也可以从圆外连,问是否可以不相交 对于边i,ji,j限制条件为不相交,即不在同一个集合中 因此我们将这个问题转化为了2-SAT问题 设ii表示边ii在圆内,i ...
分类:其他好文   时间:2020-03-22 22:35:50    阅读次数:71
20663条   上一页 1 ... 27 28 29 30 31 ... 2067 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!