Back to Topic List
Hi Kevin,
I can see that you changed something in Problem #1 (as now it is the first item in the recent problems list on the main site). So I checked it and realized that my previous solution is lost. I have submitted again, but my solution is denied. Looking the input parameters it seems that first number indicating the size of the set is less then the floowing number of data by one :)
Hi Adam!
Indeed an off-by-one error! Thank you for pointing that out!
I did indeed shuffle things around a little bit, Problem #1 become Problem #2 (so your solution should be preserved there) and the new Problem #1 variant should be somewhat more accessible to new users :)
Ok, thank you, everything is fine now.