
算法
菜鸟cx
这个作者很懒,什么都没留下…
展开
-
poj2987 求最大权闭合回路
建图差不多和以前做的差不多,就是最后询问这个闭合子图有多少个的时候,只要输出这个图的S集合,就是进行dfs能遍历到的点一定在S集合中,不能遍历到的点在T集合中#include <iostream>#include <algorithm>#include <string.h>#include <cstdio>#include <...原创 2018-08-23 10:11:20 · 250 阅读 · 0 评论 -
大数开方 ACM-ICPC 2018 焦作赛区网络预赛 J. Participate in E-sports
Jessie and Justin want to participate in e-sports. E-sports contain many games, but they don’t know which one to choose, so they use a way to make decisions.They have several boxes of candies, and t...原创 2018-09-15 19:50:42 · 333 阅读 · 0 评论