I have tested test cases that fails with officials test cases and it works ! Can someone take a look ... http://z-trening.com/submit.php?submit=7100089802&subm_code=1
Skupovi
Did you forget to count those combinations where the largest and smallest number are the same number?
For example, if m = 6, (3,3) is a valid set.
For example, if m = 6, (3,3) is a valid set.
It works. Tnx ;)