Split into multiples of 7 by piyo

using c=System.Console;class P{static void Main(){for(int n=0,h;0<=(h=c.Read()-48);)c.Write(h+(0<(n=(n*3+h)%7)?"":"\n"));}};

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

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page