三个三位数相乘,积怎样最大
- 时间:2020-04-03 19:10:37
- 分类:数学世界
- 阅读:101 次
用1——9这九个数字组成三个三位数,每个数字只用一次,使这三个三位数相乘的积尽可能大,这三个三位数各应是多少?
解题思路:要想使这三个三位数的乘积尽可能大,必须每个三位数尽量大;要使每个三位数尽量大,必须把大的数字尽可能放在高位上。与此同时,根据《乘积最大问题》中证明的,还要兼顾到这三个数之间的差距要尽可能的小。
解答过程:
把9、8、7三个数字放在三个三位数的百位上,十位上放4、5、6三个数字,个位上放1、2、3三个数字。组合出来就是:941,852,763。
推荐阅读:Compute the Sequential Digits within a Range using DFS, BFS, or Bruteforce or Line Sweep Algorithms to Remove Covered Intervals Microbit Programming: The Development of a Snake Eating Apple Ga Compute the Angle of the Hour and Minute Hand on a Clock How to Convert Binary Number in a Linked List to Integer? The Permutation Iterator in Python Compute the Indices of the Target Element in Array/List using Py 5 Cognitive Biases You Can Use to Boost E-Commerce Conversions Important SEO Tips for E-commerce That You Cannot Disregard 5 Effective Ways to Improve Blog Conversion Rate
- 评论列表
-
- 添加评论