[UVA][建表] 347 - Run
Run, Run, Runaround Numbers
An N-digit runaround number is characterized as follows:
It is an integer with exactly N digits, each of which is between 1 and 9, inclusively. The digits form a sequence with each digit telling where the next digit in
the sequence ...