Welcome!!! to my presentation !, About friendship, and growth. When i was little(靠过来正式), i used to make many friends. no matter who they are!, we can ...
分类:
其他好文 时间:
2020-06-29 00:51:57
阅读次数:
104
Welcome!!! to my presentation !, About friendship, and growth. When i was little(靠过来正式), i used to make many friends. no matter who they are!, we can ...
分类:
其他好文 时间:
2020-06-29 00:25:26
阅读次数:
77
There are N students in a class. Some of them are friends, while some are not. Their friendship is transitive in nature. For example, if A is a direct ...
分类:
其他好文 时间:
2020-03-11 12:41:31
阅读次数:
74
Reberland Linguistics CodeForces - 666A First-rate specialists graduate from Berland State Institute of Peace and Friendship. You are one of the most ...
分类:
其他好文 时间:
2019-07-06 00:09:13
阅读次数:
112
There are N students in a class. Some of them are friends, while some are not. Their friendship is transitive in nature. For example, if A is a direct ...
分类:
其他好文 时间:
2019-05-17 16:56:03
阅读次数:
164
There are N students in a class. Some of them are friends, while some are not. Their friendship is transitive in nature. For example, if A is a direct ...
分类:
其他好文 时间:
2019-04-06 18:27:49
阅读次数:
93
Bear Limak examines a social network. Its main functionality is that two members can become friends (then they can talk with each other and share funn ...
分类:
其他好文 时间:
2019-04-02 21:22:14
阅读次数:
204
题目大意:给定一张无向图,要求如果 A 与 B 之间有边,B 与 C 之间有边,那么 A 与 C 之间也需要有边。问这张图是否满足要求。 题解:根据以上性质,即:A 与 B 有关系,B 与 C 有关系,那么 A 和 C 也要有关系,因此可以采用并查集加以维护,维护关系的同时顺便维护各个联通块的大小, ...
分类:
其他好文 时间:
2018-11-30 20:20:57
阅读次数:
171
There are N students in a class. Some of them are friends, while some are not. Their friendship is transitive in nature. For example, if A is a direct... ...
分类:
其他好文 时间:
2018-11-06 11:10:11
阅读次数:
140
In modern society, each person has his own friends. Since all the people are very busy, they communicate with each other only by phone. You can assume ...
分类:
其他好文 时间:
2018-08-03 19:44:46
阅读次数:
156