原文: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