Io solution Rob 27th October, 2009 10:00 (UTC)

Not quite as short as the others. It's on one line on account of the wiki.

muriel:Desktop rburns$ ls -l golf.io -rw-r—r—@ 1 rburns staff 147 Oct 27 16:28 golf.io

R := File standardInput readLines map(split map(asNumber)); C := list; for(i,0,9,C append(R map(at(i)))); list(R,C) map(map(sum)) flatten max println

Io solution Kirit Sælensminde 27th October, 2009 10:07 (UTC)
Rob said
R := File standardInput readLines map(split map(asNumber)); C := list; for(i,0,9,C append(R map(at(i)))); list(R,C) map(map(sum)) flatten max println

I think yours might be the first that actually reads from stdin though.


To join in the discussion you should register or log in
Io solution Rob 27th October, 2009 10:15 (UTC)
Mike's did as well, I think. I believe this is the doing more less the same steps that Mike's is going through. Though Python has some features that allow it to be more compact.