calculation of decimal by hallvabo

from decimal import*
getcontext().prec=99
while 1:s=raw_input();_="%f345"%0+s[25:];print(sum(map(Decimal,s.split()[::2])),_)[s<_]

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page