摘要:
http://codeforces.com/problemset/problem/598/D 分析:BFS,同一连通区域的周长一样,但查询过多会导致TLE,所以要将连通区域的答案储存,下次查询到该连通区域就可以直接得出结果 阅读全文
摘要:
题目: In some social network, there are nn users communicating with each other in mm groups of friends. Let's analyze the process of distributing some n 阅读全文