从前往后数小明排在第7位

  • 时间:2020-04-22 15:41:35
  • 分类:数学世界
  • 阅读:139 次

数学题:一些小朋友排成一队,从前往后数小明排在第7位,从后往前数小明排在第9位。这队一共有多少人?

7+9-1=15(人)

思考:为什么减1?

提高题:一些小朋友排成一队,从前往后数小明和小刚分别排在第7位和第8位,从后往前数他们分别排在第10位和第11位。这队一共有多少?

思考:条件变多了,变复杂了,怎么算?

推荐阅读:
Bruteforce Algorithm to Find the Unique Positive Integer Whose S  Clone (Deep Copy) Binary Tree With Random Pointer using Hash Map  How to Compute Running Sum of 1d Array using std::partial_sum in  How to Renew the Free SSL Certificates (Nginx Server)?  Design: How to Solve 503 Error of API when Resources are not ava  SteemJs Programming: What Happens on the Steem Blockchain in the  How to Set Up Your On-Call Duty when Your Steem Witness is Missi  Common Mistakes You Can Face With Trying to switch Your Hosting   Recursive Algorithm to Construct Binary Tree from Preorder and P  10 Common Reasons Why Your Blog Doesn’t Make Money 
评论列表
添加评论