Skip to main content
2 of 4
deleted 1 character in body
Martin Ender
  • 197.2k
  • 67
  • 447
  • 975

Matlab, 60

This would be Matlab's special field IF we could use builtin functions...

c=0;a=input('');for A=a;v=c:c+A;d(v,v)=1;c=c+A+1;end disp(d)
flawr
  • 43.9k
  • 7
  • 104
  • 249