If you want truely unique numbers, than
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
10, 11, 12, 13, 14, 15, 16, 17, 18, 19
20, 22, 23, 24, 25, 26, 27, 28, 29
30, 33, 34, 35, and so on until 90, 99
The same can also be applied to 100 to 1000 however it will be more complicated
100, 101, 102, 103, 104, 105, 106, 107, 108, 109
110, 111, 112, 113, 114, 115, 116, 117, 118, 119
120, 122, 123, 124, 125, 126, 127, 128, 129
130, 133, 134, 135, and so on until 190, 199
200
210, 212 to 219
220, 222 to 229
to 290, 299
300
310, 313 to 319
320, 323 to 329
And so on until idk
Is difficult cus there lots of combinations that can occur
114 is same as 411 so 411 cannot occur
And so on
DiD you read his code? He wants to print 3 digit numbers where all the digital are different (I.e. no 2 digits are the same). He also wants to print just the combinations and not the permutations. So 123, 132, 213, 231, 321 and 312 are all considered the same and he wants to print just one of these.
Anonymous
Yorhane
Pradevel (Pratyush)
Arrithnius
Cesco
Vlad
Ravi
Tecatito
Pavel