图论
杂货店的阿猿
想进大厂的正在努力的渣本程序员
展开
-
Welcome Party(并查集+优先队列+邻接表)
Welcome Party The 44th World Finals of the International Collegiate Programming Contest (ICPC 2020) will be held in Moscow, Russia. To celebrate this annual event for the best competitive programmers around the world, it is decided to host a welcome party原创 2020-10-07 16:32:49 · 244 阅读 · 0 评论 -
Enter The Dragon(并查集)
** Enter The Dragon** The capital of Ardenia is surrounded by several lakes, and each of them is initially full of water.Currently, heavy rainfalls are expected over the land. Such a rain falls to one of the lakes: if the lake is dry and empty, then it wil原创 2020-10-06 19:42:00 · 395 阅读 · 0 评论 -
Forest Program(dfs+并查集+快速幂)
Forest Program The kingdom of Z is fighting against desertification these years since there are plenty of deserts in its wide and huge territory. The deserts are too arid to have rainfall or human habitation, and the only creatures that can live inside the原创 2020-10-06 19:21:39 · 211 阅读 · 0 评论