摘要: 题目链接:https://codeforces.com/gym/103446/problem/H 题目大意: 人生就是一场游戏。 世界可以看作是 \(n\) 个城市和城市之间 \(m\) 条无向道路的无向连通图。 现在你,生命游戏玩家,将在世界图表上玩生命游戏。最初,您位于第 \(x\) 个城市和第 阅读全文
posted @ 2025-03-21 22:24 quanjun 阅读(66) 评论(0) 推荐(0)
摘要: 题目链接:https://www.luogu.com.cn/problem/P1967 参考资料:https://www.cnblogs.com/qfxlzhe/p/15153705.html 示例程序: #include <bits/stdc++.h> using namespace std; c 阅读全文
posted @ 2025-03-21 18:29 quanjun 阅读(14) 评论(0) 推荐(0)