Блог пользователя skpaopao

Автор skpaopao, 12 лет назад, перевод, По-русски

Suppose there are two kinds of balls (i.e. Good ball and Bad ball) in a bag. Now I take out balls one by one and put them in a line. We denote Good ball as 1 and Bad ball as 0. If there are n balls, then the line can be represented as a vertor a[] of size n, where ai is denoted as follows,

Полный текст и комментарии »

  • Проголосовать: нравится
  • +1
  • Проголосовать: не нравится