Stay Hungry,Stay Foolish!

摘要: P1551 亲戚 https://www.luogu.com.cn/problem/P1551 思路 并查集统计亲戚集合。 Code https://www.luogu.com.cn/record/104070571 #include <iomanip> #include <bits/stdc++. 阅读全文
posted @ 2023-03-08 22:27 lightsong 阅读(17) 评论(0) 推荐(0) 编辑
摘要: E - Transitivity https://atcoder.jp/contests/abc292/tasks/abc292_e 思路 https://blog.csdn.net/a1845613403/article/details/129343684 记录每个点的入节点集合, 和 出节点集合 阅读全文
posted @ 2023-03-08 22:23 lightsong 阅读(19) 评论(0) 推荐(0) 编辑
Life Is Short, We Need Ship To Travel