Plot Circle by pooq

string s;int r=stdin;for(int x=-r;x<=r;++x,write(s),s='')for(int y=-r;y<=r;++y)s+=substr('** ',sgn(x*x+y*y-r*r)+1,1);

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

download

return to the top page