Regular polygon by atami(nn)

with(Math)for(i=n=readline();i;print(v(cos(p=i--*PI*-2/n)*1e3),v(sin(p)*1e3)))v=round

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

download

return to the top page