目錄 A. Candies and Two Sisters B. Construct the String C. Two Teams Composing D. An ...
目錄 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 推薦指數:
目錄 A. Candies and Two Sisters B. Construct the String C. Two Teams Composing D. An ...
Phoenix and Memory https://codeforces.com/contes ...
://codeforces.com/contest/1328 A. Divisibility Prob ...
目錄 A. Candies B. Balanced Array C. Alternating Subsequence D. Constant Palindrome ...
本場鏈接:Codeforces Round #737 (Div. 2) 閑話 做的時候把C的條件轉錯了白做一個多小時.最后E由於假了所以就不寫了,有興趣自己補吧. A. Ezzat and Two Subsequences 考慮平均值:最大值所在的組,會因為放入別的數而變小.每個數都需要 ...
Codeforces Round #757 (Div. 2) 題解 A:Divan and a Store 題目大意 給你若干個數,然后你要選若干個數,每個數都在 l~r 之間,你要在盡可能選多的數的同時保證所有你選的數的和不超過一個值。 思路 就直接貪心,把可以選的數拿出來排個序 ...
題目鏈接 這次題目其實蠻坑的,有點惡心人。 A. Eshag Loves Big Arrays 題意 給定一個長度為\(n\)的序列,可以選擇一段區間將其中嚴格大於區間平均數的數刪掉,可以執行任 ...
Codeforces Round #734 (Div. 3)個人題解 博主前言:萌新第一次寫題解,還請dalao們輕點噴QAQ 比賽鏈接:Codeforces Round #734 (Div. 3) A題 Polycarp and Coins 題目大意: 你有兩種硬幣,一種是一元的,一種 ...