题目描述 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 ...