fork(2) download
  1. $n=<>;printf"a%*s\n",$n,$s.=chr 97+$_ for 0..$n-1
Success #stdin #stdout 0s 3608KB
stdin
5
stdout
a    a
a   ab
a  abc
a abcd
aabcde