
迷之搜索
文章平均质量分 80
Dillonh
博客园链接:http://www.cnblogs.com/Dillonh/
展开
-
Dungeon Master(三维bfs)
题目链接:http://poj.org/problem?id=2251题目:DescriptionYou are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. ...原创 2018-04-30 21:23:46 · 259 阅读 · 0 评论 -
Fire! (双bfs+预处理)
题目链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2671题目:Joe works in a maze. Unfortunately, portions of the maze have caught on fire, and...原创 2018-05-01 11:27:01 · 224 阅读 · 0 评论 -
2019年牛客多校第二场 F题Partition problem 爆搜
题目链接传送门题意总共有2n2n2n个人,任意两个人之间会有一个竞争值wijw_{ij}wij,现在要你将其平分成两堆,使得∑i=1,i∈An∑j=1,j∈Bnwij\sum\limits_{i=1,i\in\mathbb{A}}^{n}\sum\limits_{j=1,j\in\mathbb{B}}^{n}w_{ij}i=1,i∈A∑nj=1,j∈B∑nwij最大。思路看到这一...原创 2019-07-20 19:50:27 · 265 阅读 · 0 评论