visual Euclidean algorithm by tails

c;d;q[];p=q;main(a,b){for(scanf("%d,%d",&a,&b);b;!d--?memset(p,++c+96,a),d=b<a?a-=b,p+=b,0:a:puts(q,b--));}

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