skpaopao's blog

By skpaopao, 13 years ago, In English

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

Now I want to define a evaluation method M to measure . My idea is that the earlier we select out Good balls, the higher value of M. Thus should get the highest M.

Up to now, we want to define M to meet following conditions,

  1. Different has different M
  2. The earlier good balls are found, the higher value of M should be.
  • Vote: I like it
  • +1
  • Vote: I do not like it

»
13 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Does the number of found good balls affect the value of M ... or just the positions of them ?

For example is "1000" better or "0111" ?