s=0 while""do r=io.read()for c in("-_"):gmatch"."do d=#r-#r:gsub(c,'')s=s+d if d>0 then print(s)end end end
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page