|
|
вернуться в форумexplain plz Послано giorgi 19 ноя 2011 16:35 if N=3 k=10 is 011 valid(i mean may the valid number start with 0?) Re: explain plz 011 is actually 11 so no. a small hint: first, lets consider A ∈ { 1, 2, 3, ..., k-1} the numbers that are invalid should look like this: A00, where A can take any value from those above. no matter what values do N and K take, your numbers must always start with A. if not, then u have a number with N-1 elements. hope this helps. Re: explain plz Послано hehe 26 мар 2013 14:56 this reply was quite late :-) |
|
|