Bezier Curve by nn

#define P(x)a*(3*b*(b*2[x+a*4[x)+a*a*6[x)/1000
b;main(a,c){for(;~scanf("%d",&a+b++)||printf("%d %d\n",P(&a]),P(&c]),b=10-a)*b*++a;);}

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

download

return to the top page