三个三位数相乘,积怎样最大
- 时间:2020-04-09 17:16:47
- 分类:数学世界
- 阅读:221 次
用1——9这九个数字组成三个三位数,每个数字只用一次,使这三个三位数相乘的积尽可能大,这三个三位数各应是多少?
解题思路:要想使这三个三位数的乘积尽可能大,必须每个三位数尽量大;要使每个三位数尽量大,必须把大的数字尽可能放在高位上。与此同时,根据《乘积最大问题》中证明的,还要兼顾到这三个数之间的差距要尽可能的小。
解答过程:
把9、8、7三个数字放在三个三位数的百位上,十位上放4、5、6三个数字,个位上放1、2、3三个数字。组合出来就是:941,852,763。
推荐阅读:Counting the Prime Arrangements The Minimum Absolute Difference Algorithm of an Array Implement the Depth First Search Algorithm in Graph using Simple Beginner’s Introduction to PHP Memcached Using the Regular Expression to Replace External Links in WordPr 5 Smart Guides In Taking The Best Hosting Provider Checking Subtree of Another Tree using Preorder Traversal or Rec How to Optimize WordPress Website for Speed? How to Compute the Day of the Week using C++? Counting Substrings with Only One Distinct Letter with Different
- 评论列表
-
- 添加评论