6N plus minus one by pooq

loop:p=hear().to_i();say p.to_s()+" = 6 * "+(++p/6).to_s()+" "+["-",0,"+"][p.rem(3)]+" 1"

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

download

return to the top page