摘要: 本题题意不难,说白了就是有一组数,相互传递使所有的数相等,那么问题来了,要想都相等,首先得知道平均数,其次得知道每个数应减去多少或加上多少,之后结果就差不多了。 题解如下: #include #include #include #include #include using namespace std; long long int i_peopl... 阅读全文
posted @ 2015-07-25 21:34 wlxy 阅读(199) 评论(0) 推荐(0) 编辑