问题描述:
C语言acm初级题,下面这个题有没有好的思路
Points cakes
时间限制(普通/Java):1000MS/3000MS 运行内存限制:65536KByte
总提交:11 测试通过:8
描述
A mother has n different sizes of cake,she wants to give to his two children by a fair way(which may not completely average,but requires minimum),
you can help she solve this problem?
输入
there are many case of testdata,for each testdata,
first line:an integer n(3
Points cakes
时间限制(普通/Java):1000MS/3000MS 运行内存限制:65536KByte
总提交:11 测试通过:8
描述
A mother has n different sizes of cake,she wants to give to his two children by a fair way(which may not completely average,but requires minimum),
you can help she solve this problem?
输入
there are many case of testdata,for each testdata,
first line:an integer n(3
问题解答:
我来补答展开全文阅读