https://www.luogu.com.cn/problem/P4412 https://darkbzoj.cc/problem/1937 这个题主要麻烦的点还是找环。。。 const int N = 50 + 9, M = int(1.5e3) + 9; struct Graph { int id[N][N]; struct edge { int x, y, w; void in() { R…
https://www.luogu.com.cn/problem/P4412 https://darkbzoj.cc/problem/1937 这个题主要麻烦的点还是找环。。。 const int N = 50 + 9, M = int(1.5e3) + 9; struct Graph { int id[N][N]; struct edge { int x, y, w; void in() { R…
讨论
登录后参与讨论
还没有评论,来说第一句吧。