2021-01-1616阅读📔算法学习AcWing 422. 校门外的树(区间合并、线段树、珂朵莉树)题目传送门https://www.acwing.com/activity/content/problem/content/3423/1/(其实这题还可以用分块和树状数组来写)题解解法一:区间合并...
2021-01-1613阅读📔算法学习AcWing 1227. 分巧克力(Golang多线程版本写法)题目传送门https://www.acwing.com/activity/content/problem/content/3419/1/设计思路生产消费者——生产消费者(1:n)模型, main...
2020-10-2456阅读📔算法学习Codeforces Round #677 (Div. 3)题解Problem A: Boring Apartments传送门: https://codeforces.com/contest/1433/problem/A解题思路:水题,如果一个数每个位上的数...
2020-10-2462阅读📔算法学习AtCoder Beginner Contest 180题解Problem A: box传送门: https://atcoder.jp/contests/abc180/tasks/abc180_a解题思路:水题,A + B问题#include <b...
2020-10-0160阅读📔算法学习Codeforces Round #674 (Div. 3)题解Problem A:Floor Number题目传送门:Floor Number解题思路:水题,初始值为2,每次加x,直到大于等于n为止。#include <bits/stdc++.h&g...