二分图
楚江枫
不忘初心,方得始终
展开
-
【HDU 2063 过山车】
过山车Problem Description RPG girls今天和大家一起去游乐场玩,终于可以坐上梦寐以求的过山车了。可是,过山车的每一排只有两个座位,而且还有条不成文的规矩,就是每个女生必须找个个男生做partner和她同坐。但是,每个女孩都有各自的想法,举个例子把,Rabbit只愿意和XHD或PQK做partner,Grass只愿意和linle或LL做partner,PrincessSno原创 2016-08-16 21:17:53 · 411 阅读 · 1 评论 -
【HDU 1179 二分图 】
二分图 Description In Diagon Alley ,there is only one Wand-seller,peeling gold letters over the door read Ollivanders: Makers of Fine Wands since 382 BC.A single wand lay on a faded purple cushion in the原创 2016-08-17 10:52:36 · 309 阅读 · 0 评论 -
【zzulioj 1918 二分图】
Description晴天也来寻宝啦,有一个m层的宝塔,只能从第一层开始一层一层的往上走,每层都有一个门,你需要用钥匙来打开门才能继续走,现在晴天有n把钥匙,编号为0-n-1,然后他要开始寻宝了。没有特殊技能怎么好意思出来寻宝呢,他现在有两个天赋技能,他知道第i层的门可以用编号为a和b的钥匙打开(可能a等于b呦),然后他还可以在进入宝塔前把门的顺序任意调换一次,也就是说比如可以把m层原来的1 2 3原创 2016-08-17 18:30:54 · 279 阅读 · 0 评论 -
【POJ 3041 Asteroids】+ 二分图
Asteroids Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 7887 Accepted: 4196Description Bessie wants to navigate her spaceship through a dangerous asteroid field in the shap原创 2016-10-25 12:49:59 · 390 阅读 · 0 评论 -
【HDU OJ 4751 + 二分图】
This year is the 60th anniversary of NJUST, and to make the celebration more colorful, Tom200 is going to invite distinguished alumnus back to visit and take photos. After carefully planning, Tom200原创 2016-09-30 09:22:31 · 417 阅读 · 0 评论 -
【Lightoj 1009 Back to Underworld】+ 二分图染色
Description The Vampires and Lykans are fighting each other to death. The war has become so fierce that, none knows who will win. The humans want to know who will survive finally. But humans are afrai原创 2016-10-07 11:46:14 · 533 阅读 · 0 评论 -
【HDU 5971 Wrestling Match】+ 2016ACM/ICPC亚洲区大连站-重现赛(感谢大连海事大学) + 二分图染色
Wrestling Match Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 363 Accepted Submission(s): 170Problem Description Nowadays, at least one原创 2016-11-12 19:17:39 · 1103 阅读 · 0 评论 -
【HDU 1498 50 years, 50 colors】+ 二分图
50 years, 50 colors Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2419 Accepted Submission(s): 1358Problem Description On Octorber 21st,原创 2016-12-09 23:26:10 · 348 阅读 · 0 评论