阅读背景:

求一道ACM练习题的算法

来源:互联网 
题目原文如下:
Description
Nahid Khaleh decides to invite the kids of the "Shahr-e Ghashang" to her wedding anniversary. She wants to prepare a square-shaped chocolate cake with known size. She asks each invited person to determine the size of the piece of cake that he/she wants (which should also be square-shaped). She knows that Mr. Kavoosi would not bear any wasting of the cake. She wants to know whether she can make a square cake with that size that serves everybody exactly with the requested size, and without any waste. Nahid Khaleh decides 



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: