
2-SAT
Felix-Lee
北有玄武盾,南有雀攻法,东有青龙唾,西有虎焰击,中有沙婆星,层层设备,步步为营。
展开
-
Hdu 3062. Party
Hdu 3062. Party Problem Description有n对夫妻被邀请参加一个聚会,因为场地的问题,每对夫妻中只有1人可以列席。在2n 个人中,某些人之间有着很大的矛盾(当然夫妻之间是没有矛盾的),有矛盾的2个人是不会同时出现在聚会上的。有没有可能会有n 个人同时列席?Inputn: 表示有n对夫妻被邀请 (n<= 1000) m: 表示有m 对矛盾关系原创 2017-12-28 17:32:33 · 362 阅读 · 0 评论 -
POJ 3683. Priest John's Busiest Day
POJ 3683. Priest John's Busiest Day DescriptionJohn is the only priest in his town. September 1st is the John’s busiest day in a year because there is an old legend in the town that the couple who get married原创 2017-12-30 10:18:27 · 374 阅读 · 0 评论