鏈接:http://codeforces.com/contest/798 A:Mike and palindrome 考慮不全面wa一次,水題。 View Code B:Mike and strings 數據小,我暴力 ...
鏈接:http://codeforces.com/contest/798 A:Mike and palindrome 考慮不全面wa一次,水題。 View Code B:Mike and strings 數據小,我暴力 ...
http://codeforces.com/problemset/problem/599/C 題目大意: 有n個城堡的高度 讓你最多分成幾個塊 每個塊排過序之后 整體是按照升序來的 分析: i之前的最大值只要小於等於i之后的最小值 ans++ ...
目錄 Description State Input Output Solution Code ...
Description Vasiliy is fond of solving different tasks. Today he found one he wasn't able to sol ...
鏈接[http://codeforces.com/group/1EzrFFyOc0/contest/706/problem/C] 題意: 他希望它們按詞典順序排序(就像字典中那樣),但他不允許交換其中的任何一個。 唯一允許他做的操作是將其中的任何一個反轉(第一個字符變成最后一個, 第二個 ...
任意門:http://codeforces.com/contest/1114/problem/C C. Trailing Loves (or L'oeufs?) time limit per test 2 seconds memory ...
During the quarantine, Sicromoft has more free time to create the n ...
題目鏈接:https://codeforces.com/contest/1543/problem/C 題意: 給定三張牌,每次抽取一張牌,給定這三張牌被抽到的概率,分別記為 \(c,m,p\),並給定一個波動因子 \(v\),設當前抽到的這張牌被抽到的概率為 \(a\),若\(a \le v ...