摘要: http://codeforces.com/contest/489/problem/D 暴力,枚举所有"damn rhombus" 对于任意a、c,设其a->i->c的路个数为cnt,其"damn rhombus"个数为cnt*(cnt-1)/2 初始化cnt[][],然后遍历所有点即可 阅读全文
posted @ 2019-07-28 10:03 dodoBehind 阅读(123) 评论(0) 推荐(0) 编辑