6N plus minus one by fill

j;main(i){for(;~scanf("%d",&i);printf("%d = 6 * %d %c 1\n",i,i/6+j,43+2*j))j=i%6>2;}

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

download

return to the top page