| |||
| I think the answer of Juvexp is correct. To cat: I have written a program to verify the answer. The algorithm is the most naive one. I think it is correct. I think C(52, 4) is also correct, if we regard 4C and 4H is different. But I think since we get the same result from 4 no matter it is 4C or 4H, maybe neglecting the difference is better |
| |||
| 引用:
to zero: I don't think so. For example, 2 2 3 3 is a legal combination, which is not counted in his formula. However this is a big hint, made me to remember something of the permutations and combinations ![]() PS, would you kindly paste your code here? |