puts$<.map{|l|(%w[m kg s A K mol cd].map{|u|c=0;[l.scan(u){c+="#{$'[0]} 1".hex},u][c]||u+"#{c}"}-[l])*' '}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page