文件名称:fencaichan
介绍说明--下载内容来自于网络,使用问题请自行百度
国王分财产。某国王临终前给儿子们分财产。他把财产分为若干份,然后给第一个儿子一份,再加上剩余财产的1/10;给第二个儿子两份,再加上剩余财产的1/10;……;给第i个儿子i份,再加上剩余财产的1/10。每个儿子都窃窃自喜。以为得到了父王的偏爱,孰不知国王是“一碗水端平”的。请用程序回答,老国王共有几个儿子?财产共分成了多少份?-King divided the property. Sons divided the property before the death of a king. Property is divided into a number of copies, and then a first son, coupled with the residual assets of the 1/10 surplus property to the second son of two, plus 1/10 ...... to the i a son i, plus the residual assets of the 1/10. Each son selfish, hi. Thought that the preference of the father, everyone knows that the king is " equal justice" . Please answer with the program, the old king of the sons? The property is divided into the number of copies?
(系统自动生成,下载前可以参看下载内容)
下载文件列表
fencaichan.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.