原文:2019牛客暑期多校训练营(第二场)F.Partition problem

链接:https: ac.nowcoder.com acm contest F来源:牛客网 Given N people, you need to assign each of them into either red team or white team such that each team consists of exactly N people and the total competit ...

2019-07-20 17:55 1 359 推荐指数:

查看详情

2019暑期校训练营第二场)

A. Eddy Walker solved by rdc 202min -1 题意 一个点在长度为 \(n\) 的环上游走,输出第一次访问到所有点时在 \(x\) 上的概率。 做法 考虑经典的线 ...

Sun Jul 21 02:13:00 CST 2019 0 819
2019暑期校训练营(第一

2019暑期校训练营(第一) A.Equivalent Prefixes solved by RDC 42min -1, assisted by F0_0H 题意 给两个序列,求最长前缀使得笛卡尔树相同。 做法1 二分前缀,建笛卡尔树。 做法2 递归地计算 \([l,r ...

Fri Jul 19 03:39:00 CST 2019 0 761
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM