Skip to main content
added 8 characters in body
Source Link

Ruby - 74 69 6767 65 characters

a=0
("+ "+ARGF"+$<.read).split.each_slice 2{|b,c|a=a.send b,c.to_f}
p a

Ruby - 74 69 67 characters

a=0
("+ "+ARGF.read).split.each_slice 2{|b,c|a=a.send b,c.to_f}
p a

Ruby - 74 69 67 65 characters

a=0
("+ "+$<.read).split.each_slice 2{|b,c|a=a.send b,c.to_f}
p a
deleted 1 characters in body
Source Link

Ruby - 74 69 6867 characters

a=0
("+ "+ARGF.read).split.each_slice( 2){|b,c|a=a.send b,c.to_f}
p a

Ruby - 74 69 68 characters

a=0
("+ "+ARGF.read).split.each_slice(2){|b,c|a=a.send b,c.to_f}
p a

Ruby - 74 69 67 characters

a=0
("+ "+ARGF.read).split.each_slice 2{|b,c|a=a.send b,c.to_f}
p a
added 9 characters in body
Source Link

Ruby - 74 6969 68 characters

a=0
("+ "+ARGF.read).split.each_slice(2){|b,c|a=a.send( b,c.to_f)}
p a

Ruby - 74 69 characters

a=0
("+ "+ARGF.read).split.each_slice(2){|b,c|a=a.send(b,c.to_f)}
p a

Ruby - 74 69 68 characters

a=0
("+ "+ARGF.read).split.each_slice(2){|b,c|a=a.send b,c.to_f}
p a
deleted 4 characters in body; added 10 characters in body
Source Link
Loading
Source Link
Loading