
Hungary
Sirius_Ren
▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇自己刮~~~
展开
-
HDU 1054 Hungary
Strategic GameProblem Description Bob enjoys playing computer games, especially strategic games, but sometimes he cannot find the solution fast enough and then he is very sad. Now he has the following原创 2016-04-27 00:23:13 · 572 阅读 · 0 评论 -
HDU 2063
过山车Problem Description RPG girls今天和大家一起去游乐场玩,终于可以坐上梦寐以求的过山车了。可是,过山车的每一排只有两个座位,而且还有条不成文的规矩,就是每个女生必须找个个男生做partner和她同坐。但是,每个女孩都有各自的想法,举个例子把,Rabbit只愿意和XHD或PQK做partner,Grass只愿意和linle或LL做partner,PrincessSno原创 2016-04-27 00:18:35 · 824 阅读 · 0 评论 -
POJ 2771 最大独立集 匈牙利算法
(为什么最大独立集的背景都是严打搞对象的( _ _)ノ|壁) 思路:匈牙利算法 没什么可说的……// by SiriusRen#include <cstdio>#include <cstring>using namespace std;int cases,n,tot,ans,first[555],next[555555],v[555555],fa[555],vis[555];struct原创 2016-08-04 11:08:45 · 753 阅读 · 0 评论 -
POJ 3020 Hungary
一道建图题……// by SiriusRen#include <cstdio>#include <cstring>using namespace std;#define N 1666int h,w,v[N],next[N],first[N],tot,cnt,cases,map[55][55],fa[N],ans;char a[55][55],xx[]={1,-1,0,0},yy[]={0原创 2016-08-04 11:10:44 · 354 阅读 · 0 评论