奇特的算法
- 时间:2020-04-12 12:50:14
- 分类:数学世界
- 阅读:172 次
奇特的算法:我们常常会遇到被减数与减数的个位、十位上的数字正好互换的题目,如:91-19,82-18,73-37等。
计算这一类题目有一种特殊的简便方法,只要用被减数十位上的数字与个位上数字的差乘9,就可以得到结果。
比如:73-37,可以这样算:7-3=4 → 4×9=36 → 73-37=36。神奇吧!你也来试试吧!
找几道这样的题目,用上面的方法算一算,看看是否真的与正确的得数相同。
推荐阅读:Compute Number of Lines To Write String (Wordwrap) How to Reverse Words in a String? Design a Logger Rate Limiter in C++/Java C++ Coding Exercise: Smallest Range of Array Coding For Profit: 4 Types Of Websites To Consider Building How to Compute the Projection Area of 3D Shapes? How To Find The Ideal Monitor For Coders? How to Partition an Array Into Three Parts With Equal Sum? Compute the Sum of Even Numbers After Queries How to Compute Nested List Weight Sum of Any Arrays?
- 评论列表
-
- 添加评论