摘要:
\(\displaystyle \large {题目传送门}\) 题面 给定一个一个 H*W 的矩形 , 每个坐标上有一个颜色 , 上下左右相邻的同颜色节点可以形成连通块 。 你可以对任意一个连通块 , 进行一次并仅有一次的染色 , 求新形成的连通块最大的大小 。 思路: \(\mathcal St 阅读全文
posted @ 2025-10-24 20:10
Noivelist
阅读(20)
评论(0)
推荐(0)
摘要:
\(\mathcal {P14214\ \ [COI 2010]\ \ 圆圈 \ \ /\ \ KOLO}\) #include<bits/stdc++.h> using namespace std; const int N=5e6+10; int pre[N],nxt[N]; int n,k,a; 阅读全文
posted @ 2025-10-24 11:51
Noivelist
阅读(7)
评论(0)
推荐(0)

浙公网安备 33010602011771号