摘要:
有向无环图的生成树个数等于入度非零的节点的入度积 好像挺显然的。。然而还是要背一下 python3随机字符串 from random import * ''.join([sample([chr(i) for i in range(ord('a'),ord('z'))]+[str(i) for i i 阅读全文
摘要:
https://www.luogu.org/problemnew/show/P2047 https://www.lydsy.com/JudgeOnline/problem.php?id=1491 也可以用floyed做掉 1 #include<cstdio> 2 #include<algorithm 阅读全文