Regular polygon by teebee

for(int i,n=stdin;i<n;++i)write(format(format("%.f %.f",1e3*cos(2pi*i/n)),1e3*sin(2pi*i/n)));

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

download

return to the top page