2016年6月14日

CDOJ Find the Fastest Server (SPFA)

摘要: 原题地址:http://acm.uestc.edu.cn/#/problem/show/702 题意 略 题解 阅读全文

posted @ 2016-06-14 23:57 zhong_wang 阅读(215) 评论(0) 推荐(0) 编辑

codeforce 675C Money Transfers (思维)

摘要: 原题地址:http://codeforces.com/contest/675/problem/C 题意: 略 题解 一个长度为n的区间,如果区间和为0,那么只要n-1次transfer就可以使区间为0; 我们将整个环切分为p个区间,使得每个区间和均为0,那么只需要n-p次transfer。 阅读全文

posted @ 2016-06-14 20:01 zhong_wang 阅读(138) 评论(0) 推荐(0) 编辑

导航