526互联
首页
Ai
Java
Python
Android
Mysql
JavaScript
Html
CSS
Rotations
P3521 [POI2011] ROT-Tree Rotations
[P3521 [POI2011] ROT-Tree Rotations](https://www.luogu.com.cn/problem/P3521) 首先合并两棵子树的时候只关心子树内值的个数,并不关心子树内具体是什么顺序,引导从下向上线段树合并计算代价。 每一个值只会出现一次,首先每个叶子节点 ......
Rotations
ROT-Tree
P3521
3521
2011
更新时间 2023-08-26
题解 [ARC153B] Grid Rotations
[[ARC153B] Grid Rotations](https://www.luogu.com.cn/problem/AT_arc153_a) 有思维含量的一题。 我们横纵坐标分开考虑,对于每一个矩形,每次操作会使其内部元素的横坐标上下对调。 纵坐标也同理,左右对调。 而这种反转操作我们显然可以直 ......
题解
Rotations
153B
Grid
ARC
更新时间 2023-07-17
共2篇 :1/1页
首页
上一页
1
下一页
尾页