To @administrators

There is an early termination case for this problem:

`if (maxChosibleInteger*(maxChosibleInteger+1)/2 == desiredTotal) return maxChosibleInteger%2;`

,

which means if the sum of all values from initial pool happens to be `desiredTotal`

, then apparently, the order to pick numbers is irrelevant to the outcome of the game. It is just whoever picks in the last value from the pool reaches `desiredTotal`

. So the first player wins iff there is odd count of values initial in the pool.

However, when I tested `return desiredTotal%2`

instead of the correct `return maxChosibleInteger%2`

in the condition above, OJ still accepted the code, which means OJ does not include such test cases when the condition is true, .

Therefore, I suggest to add the following two test cases, where the sum condition holds and `maxChosibleInteger`

and `desiredTotal`

are different under `%2`

:

`maxChosibleInteger = 19, desiredTotal = 190;`

`maxChosibleInteger = 18, desiredTotal = 171;`