fork(2) download
  1. s = "holaquetalsoycolosal!!";
  2. l = length(s);
  3. x = floor(l/4);
  4. y = ceil(l/4);
  5. w = char(ones(y+1, x+1)*' ');
  6. w(1+[0:y+1:x*(y+1) x*(y+1)+[1:y] x*(y+1)-1:-y-1:y y-1:-1:1]) = s
Success #stdin #stdout 0.17s 65056KB
stdin
Standard input is empty
stdout
w =

holaqu
!    e
!    t
l    a
a    l
s    s
olocyo