
Codeforces
genuinecai
这个作者很懒,什么都没留下…
展开
-
A. Generous Kefa(Round #429 (Div. 2))
One day Kefa found n baloons. For convenience, we denote color of i-th baloon as si — lowercase letter of the Latin alphabet. Also Kefa has k friends. Friend will be upset, If he get two baloons of the原创 2017-08-20 11:19:36 · 346 阅读 · 0 评论 -
B. Godsend(Round #429 (Div. 2))
Leha somehow found an array consisting of n integers. Looking at it, he came up with a task. Two players play the game on the array. Players move one by one. The first player can choose for his move a原创 2017-08-20 11:25:53 · 222 阅读 · 0 评论 -
C. Leha and Function(Round #429 (Div. 2)
Leha like all kinds of strange things. Recently he liked the function F(n, k). Consider all possible k-element subsets of the set [1, 2, …, n]. For subset find minimal element in it. F(n, k) — mathemat原创 2017-08-20 11:47:30 · 300 阅读 · 0 评论 -
Round #435 (Div. 2)B. Mahmoud and Ehab and the bipartiteness(二分图染色)
Mahmoud and Ehab continue their adventures! As everybody in the evil land knows, Dr. Evil likes bipartite graphs, especially trees.A tree is a connected acyclic graph. A bipartite graph is a graph, who原创 2017-09-21 22:04:28 · 566 阅读 · 0 评论