摘要:
A colored stripe is represented by a horizontal row ofnsquare cells, each cell is pained one ofkcolors. Your task is to repaint the minimum number of ... 阅读全文
posted @ 2015-07-20 21:16
Painting、时光
阅读(296)
评论(0)
推荐(0)
摘要:
/*大意:给出m给不认识关系,要把他们分成两组,每组人都要认识用一个col来记录是否相邻,如果出现奇数环会使得col[v] != 3 - color,不能省如果不存在边,特判,分一个人过去*/#include #include #include #include using namespace st... 阅读全文
posted @ 2015-07-20 20:31
Painting、时光
阅读(148)
评论(0)
推荐(0)
摘要:
Young theoretical computer scientist wyh2000 is teaching young pupils some basic concepts about strings.A subsequence of a stringsis a string that can... 阅读全文
posted @ 2015-07-20 14:53
Painting、时光
阅读(207)
评论(0)
推荐(0)
摘要:
Vasya has a very beautiful country garden that can be represented as ann × mrectangular field divided inton·msquares. One beautiful day Vasya remember... 阅读全文
posted @ 2015-07-20 14:33
Painting、时光
阅读(207)
评论(0)
推荐(0)

浙公网安备 33010602011771号