Add tags

Add tags to the following comment

old awkです。 ほぼそのままC言語のコードになっちゃいました。

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#!awk -f
{
max=$1
print 0
for(b=1;;b*=10) {
        n=b
        for(j=10;--j>0;n+=b) {
                if(n>max) next
                print n
        }

}
}

Add tags

The input will be splited to tags with space.

Index

Feed

Other

Link

Pathtraq

loading...