摘要: Problem Description "One thing is for certain: there is no stopping them;the ants will soon be here. And I, for one, welcome our new insect overlords. 阅读全文
posted @ 2017-11-06 17:03 PirateLHX 阅读(297) 评论(0) 推荐(0)
摘要: 题目描述: 在一个周长为10000的圆上等距分布着n个雕塑。现在又有m个新雕塑加入(位置可以随意放),希望所有n+m个雕塑在圆周上均匀分布。这就需要移动其中一些原有的雕塑。要求n个雕塑移动的总距离尽量小。 输入格式: 输入包含若干组数据。每组数据仅一行,包含两个整数n和m(2<=n<=1000, 1 阅读全文
posted @ 2017-11-06 15:22 PirateLHX 阅读(361) 评论(0) 推荐(0)