題目描述 We have a knapsack of integral capacity and some objects of assorted integral si ...
題目描述 Noah suggests the following card game: You are given a deck of cards, each with a distinct positiveinteger value written on it. The cards are shuf ed and placed in a row. Your objective is toarr ...
2021-04-12 07:46 0 248 推薦指數:
題目描述 We have a knapsack of integral capacity and some objects of assorted integral si ...
比較模板的題。 題目 給定一個字符串 \(S\),\(n\) 個字符串 \(T_1,T_2,\dots,T_n\),每個串長度都是 \(m\),一個長度為 \(k\) 的有理數序列 \(p_1,p_ ...
一個含有\(k\)個中子的原子分裂產生的最小能量. 題解:這題當時我開的時候,有一個很明顯的貪心 ...
A - Accelerator 設加速器序列為 \(a_1, a_2, \cdots, a_n\),那么考慮把題目里的式子展開:\(a_n+a_na_{n-1}+a_na_{n-1}a_{n-2}+ ...
題目鏈接:https://codeforces.com/gym/102028/problem/C Lewis likes playing chess. Now he has n rooks on the chessboard with $n$ rows and $n$ columns. All ...
Solved: B、Commemorative Dice C、Dessert Café E、Imprecise Computer G、Mobile Robot H、Needle B、Commemorative Dice 簽到 C、Dessert Caf ...
A. LaIS (CF contest 1468 A) 題目大意 給定數組\(a_{i}\),求最長幾乎上升子數組長度。 一個有\(k\)個數的數組\(b_{i}\)如果滿足 \[\min(b_{1}, b_{2}) \leq \min(b_{2}, b_{3}) \leq \min ...