
二分图染色
文章平均质量分 87
elijahqi
这个作者很懒,什么都没留下…
展开
-
poj1112 team them up
http://www.elijahqi.win/archives/1138 Description Your task is to divide a number of persons into two teams, in such a way, that: everyone belongs to one of the teams; every team has at least one...原创 2018-05-05 23:42:56 · 352 阅读 · 0 评论 -
luogu1155 双栈排序
http://www.elijahqi.win/archives/1145 题目描述 Tom最近在研究一个有趣的排序问题。如图所示,通过2个栈S1和S2,Tom希望借助以下4种操作实现将输入序列升序排序。 操作a 如果输入序列不为空,将第一个元素压入栈S1 操作b 如果栈S1不为空,将S1栈顶元素弹出至输出序列 操作c 如果输入序列不为空,将第一个元素压入栈S2 操作d 如果...原创 2018-05-05 23:47:20 · 175 阅读 · 0 评论 -
cf623Graph and String
http://www.elijahqi.win/archives/1151 One day student Vasya was sitting on a lecture and mentioned a string s1s2… sn, consisting of letters “a”, “b” and “c” that was written on his desk. As the lectu...原创 2018-05-05 23:48:39 · 290 阅读 · 0 评论 -
codeforces 687A NP-Hard Problem
http://www.elijahqi.win/archives/1154 Recently, Pari and Arya did some research about NP-Hard problems and they found the minimum vertex cover problem very interesting. Suppose the graph G is given...原创 2018-05-05 23:49:38 · 213 阅读 · 0 评论 -
poj2942 Knights of the Round Table
http://www.elijahqi.win/archives/3598 Description Being a knight is a very attractive career: searching for the Holy Grail, saving damsels in distress, and drinking with the other knights are fun th...原创 2018-06-07 19:00:44 · 243 阅读 · 0 评论