贴错的情况共有几种

  • 时间:2020-06-17 18:37:02
  • 分类:数学世界
  • 阅读:144 次

 贴错的情况共有几种:四个装药用的瓶子都贴了标签,其中恰好有三个贴错了,那么错的情况共有()种。

数学题解答:解答这一题需要用列举法。假设四个瓶子分别为一、二、三、四,而标签分别用①、②、③、④,如果一号没有错,那么有2种情况,列举出来就是:

一①、二③、三④、四②一①、二④、三②、四③

如果帖对的不是一号,而是二号、或者三号、或者四号,那么又各有两种情况,所以一共有:2 × 4 = 8(种),答:帖错的情况一共有8种。

推荐阅读:
A Productivity & Health Guide for Home-Based Entrepreneurs  Recursive Depth First Search Algorithm to Delete Leaves With a G  Algorithms to Determine a Palindrome Number  Algorithm to Compute the Fraction to Recurring Decimal of the Tw  Algorithms to Check if Array Contains Duplicate Elements  Recursive Depth First Search Algorithm to Compute the Sum of Nod  How to Convert Integer to the Sum of Two No-Zero Integers?  Algorithm to Generate the Spiral Matrix in Clock-wise Order  How to Remove the Duplicates from Sorted List (Leaving Only Dist  How to Sort a Linked List by Converting to Array/Vector? 
评论列表
添加评论