原文:Codeforces Round #642 (Div. 3) 題解 (全部6題)

目錄 A. Most Unstable Array B. Two Arrays And Swaps C. Board Moves D. Constructing the Array E. K periodic Garland F. Decreasing Heights https: codeforces.com contest A. Most Unstable Array 構造序列 ,m, , ...

2020-05-15 00:56 2 474 推薦指數:

查看詳情

Codeforces Round #737 (Div. 2) A~E 題解

本場鏈接:Codeforces Round #737 (Div. 2) 閑話 做的時候把C的條件轉錯了白做一個多小時.最后E由於假了所以就不寫了,有興趣自己補吧. A. Ezzat and Two Subsequences 考慮平均值:最大值所在的組,會因為放入別的數而變小.每個數都需要 ...

Sun Aug 15 17:52:00 CST 2021 17 22
Codeforces Round #757 (Div. 2) 題解

Codeforces Round #757 (Div. 2) 題解 A:Divan and a Store 題目大意 給你若干個數,然后你要選若干個數,每個數都在 l~r 之間,你要在盡可能選多的數的同時保證所有你選的數的和不超過一個值。 思路 就直接貪心,把可以選的數拿出來排個序 ...

Mon Nov 29 01:35:00 CST 2021 0 102
Codeforces Round #722 (Div. 2) 題解

題目鏈接 這次題目其實蠻坑的,有點惡心人。 A. Eshag Loves Big Arrays 題意 給定一個長度為\(n\)的序列,可以選擇一段區間將其中嚴格大於區間平均數的數刪掉,可以執行任 ...

Tue May 25 12:13:00 CST 2021 2 215
Codeforces Round #734 (Div. 3)個人題解

Codeforces Round #734 (Div. 3)個人題解 博主前言:萌新第一次寫題解,還請dalao們輕點噴QAQ 比賽鏈接:Codeforces Round #734 (Div. 3) A Polycarp and Coins 題目大意: 你有兩種硬幣,一種是一元的,一種 ...

Tue Jul 27 00:40:00 CST 2021 9 193
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM