2019年4月27日

Codeforces #541 (Div2) - F. Asya And Kittens(并查集+链表)

摘要: Problem Codeforces #541 (Div2) - F. Asya And Kittens Time Limit: 2000 mSec Problem Description Input The first line contains a single integer nn (2≤n≤ 阅读全文

posted @ 2019-04-27 20:08 随缘&不屈 阅读(136) 评论(0) 推荐(0) 编辑

Codeforces #541 (Div2) - D. Gourmet choice(拓扑排序+并查集)

摘要: Problem Codeforces #541 (Div2) - D. Gourmet choice Time Limit: 2000 mSec Problem Description Input Output The first line of output should contain "Yes 阅读全文

posted @ 2019-04-27 18:50 随缘&不屈 阅读(138) 评论(0) 推荐(0) 编辑

Codeforces #548 (Div2) - D.Steps to One(概率dp+数论)

摘要: Problem Codeforces #548 (Div2) - D.Steps to One Time Limit: 2000 mSec Problem Description Input The first and only line contains a single integer mm ( 阅读全文

posted @ 2019-04-27 16:11 随缘&不屈 阅读(174) 评论(0) 推荐(0) 编辑

Codeforces #550 (Div3) - G.Two Merged Sequences(dp / 贪心)

摘要: Problem Codeforces #550 (Div3) - G.Two Merged Sequences Time Limit: 2000 mSec Problem Description Two integer sequences existed initially, one of them 阅读全文

posted @ 2019-04-27 02:00 随缘&不屈 阅读(300) 评论(0) 推荐(0) 编辑

导航