遇店加一半,遇花喝一斗
- 时间:2020-05-16 11:04:24
- 分类:数学世界
- 阅读:162 次
数学题:李白提壶去打酒,遇店加一倍,遇花喝一斗,三次遇店,三次遇花,喝完杯中酒,请问壶中原有都少酒?
数学题解答:
用方程解: 设:壶中原有X斗酒。
一遇店和花后,壶中酒为:2X-1;
二遇店和花后,壶中酒为:2(2X-1)-1;
三遇店和花后,壶中酒为:2[2(2X-1)-1]-1=0
求出X即可。
推荐阅读:Algorithm to Replace All ?’s to Avoid Consecutive Repeatin How Does C++ STL min_element, max_element, minmax_element work f Using the External Fan to Cool the Hot AMD Radeon HD 6700 Graphi Algorithms to Compute the Dot Product of Two Sparse Vectors Algorithms to Compute the Largest Time for Given Digits How to Use Hash Map to Count the Frequencies of Values and Itera Ordered Three 2TB WD HDD to prolong the life expectancy of HPZ80 HPZ800 Server Does Not Support Hard Drives Larger Than 2TB Fresno Blogger Changing The Vegan Blogging Scene Russian ‘Pokemon Go’ Blogger Goes On Trial
- 评论列表
-
- 添加评论