post_img

CF722C-Destroying-Array题解

摘要

题目描述 点我传送 You are given an array consisting of n non-negative int …

post_img

洛谷P2024食物链题解

摘要

点我传送 题目描述 动物王国中有三类动物 A,B,C,这三类动物的食物链构成了有趣的环形。A 吃 B,B 吃 C,C 吃 A。 现 …

post_img

并查集学习笔记

摘要

并查集是对集合进行查找与合并的一种数据结构 例题 luogu P1551 亲戚 时空限制 1000ms / 128MB 题目背景 …