1132

CF1132C Painting the Fence 题解

@目录DescriptionSolutionCode Description 有一面长为 \(n\) 的墙以及 \(q\) 个工人,第 \(i\) 个工人粉刷 \(l_i\) 到 \(r_i\) 的墙面,现在要去掉两个工人,问剩余 \(q-2\) 个工人最多能粉刷多少墙面。 Solution 注意数 ......
题解 Painting 1132C Fence 1132

1132 Cut Integer(附测试点浮点错误)

题目: Cutting an integer means to cut a K digits lone integer Z into two integers of (K/2) digits long integers A and B. For example, after cutting Z = ......
浮点 错误 Integer 1132 Cut

[刷题笔记] CF1132F Clear the String & [CQOI2007] 涂色

[Problem1](https://codeforces.com/problemset/problem/1132/F) [Problem2](https://www.luogu.com.cn/problem/P4170) ~~双倍经验qwq~~ ### Description 初始时数组为空,每次 ......
笔记 String 1132F Clear 1132

信奥赛例题——1132,1166,1167,1186

// 1132 //#include <iostream> //using namespace std; //int main(int argc, char** argv) { // int N; // cin>>N; // string S1,S2; // string x="Rock",y="S ......
例题 1132 1166 1167 1186

CF1132G Greedy Subsequences

简单题。 $i$ 向 $i$ 后**第一个** $j$,$a_j$ 比 $a_i$ 大的点连边,不难发现最后形成了一棵森林,并且一个点的父亲 $\text{fa}_i>i$。 题目变成了取 $[l,r]$ 中的点为起点,向祖先方向走去并且终点编号 $\le r$ 的最长链长度。 考虑离线,维护从每个 ......
Subsequences Greedy 1132G 1132 CF

力扣1132(MySQL)-报告的记录Ⅱ(中等)

题目: 编写一段 SQL 来查找:在被报告为垃圾广告的帖子中,被移除的帖子的每日平均占比,四舍五入到小数点后 2 位。 Actions 表: Removals 表: Result 表: 2019-07-04 的垃圾广告移除率是 50%,因为有两张帖子被报告为垃圾广告,但只有一个得到移除。2019-0 ......
报告 MySQL 1132
共6篇  :1/1页 首页上一页1下一页尾页