s = gets.stripe = "#{s}+#{s.size}+(#{s.split(/(?<!-)/).join '+'})"puts "#{e}=#{eval e}"
-1-2-3
-1-2-3+6+(-1+-2+-3)=-6
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!