LXNHB
LXNHB
全部文章
题解
c++基础(2)
三分法(1)
二分法(2)
操作系统(7)
算法(2)
归档
标签
去牛客网
登录
/
注册
LXNHB的博客
蒟蒻一枚
全部文章
/ 题解
(共2篇)
题解|#D. Masha and a Beautiful Tree# codeforces round 826
来自专栏
就是归并排序的变形,主要还是反映了一个大问题可以分成每个独立的子问题进行求解的分治思想,整体并不难。 #include<bits/stdc++.h> using namespace std; const int M=262148; int p[M]; int b[M]; int cnt;...
C++
分治
2023-12-15
0
448
题解|#D. Masha and a Beautiful Tree# codeforces round 826
来自专栏
就是归并排序的变形,主要还是反映了一个大问题可以分成每个独立的子问题进行求解的分治思想,整体并不难。 #include<bits/stdc++.h> using namespace std; const int M=262148; int p[M]; int b[M]; int cnt;...
C++
分治
2023-12-14
0
290