程帅霞

不断受挫,不停起身,不断追寻,不止AC~~

导航

2020年8月1日 #

F - F(最小生成树)

摘要: 题意:连通各点最短距离,最小生成树。 You are assigned to design network connections between certain points in a wide area. You are given a set of points in the area, an 阅读全文

posted @ 2020-08-01 10:29 程帅霞 阅读(663) 评论(0) 推荐(0)

C - C(换钱问题)

摘要: 换钱问题: 给出n种钱,m个站点,现在有第 s种钱,身上有v 这么多; 下面 m行 站点有a,b两种钱,rab a->b的汇率,cab a-->b的手续费, 相反rba cba ; 问在10次之内,能不能把钱换的变的多了? Several currency exchange points are w 阅读全文

posted @ 2020-08-01 10:25 程帅霞 阅读(254) 评论(0) 推荐(0)