6N plus minus one by Kipa00

#include <iostream>\x0d
#define c std::cout\x0d
int main(int a){while(std::cin>>a){c<<a<<" = 6 * ";(a%6-1)?c<<(a/6+1)<<" -":c<<(a / 6)<<" +";c<<" 1\n";}return 0;}\x0d

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

download

return to the top page