#include<stdio.h>
#include<math.h>
#include<stdlib.h>
#define I 20
#define R 340
int main()
{ int i,j,e,a;
for(i=1,a=I;i<I/2;i++,a--)
{
for(j=(int) ( I-sqrt((double)(I*I-(a-i)*(a-i))) );j>0;j--)
printf(" ");
for(e=1;e<=2*sqrt((double)(I*I-(a-i)*(a-i)));e++)
printf("\3");
for(j=(int) ( 2*( I-sqrt((double)(I*I-(a-i)*(a-i))) ) );j>0;j--)
printf(" ");
for(e=1;e<=2*sqrt( (double) (I*I-(a-i)*(a-i)) );e++)
printf("\3");
printf("\n");
}
for(i=1;i<80;i++)
{
if(i==25)
{
printf(" I LOVE YOU FY!O(∩_∩)O~ ");
i+=30;
}
printf("\3");
}
printf("\n");
for(i=1;i<=R/2;i++)
{
if(i%2||i%3)continue;
for(j=(int) ( R-sqrt( (double) (R*R-i*i) ) );j>0;j--)
printf(" ");
for(e=1;e<=2*( sqrt( (double)(R*R-i*i) )- (R-2*I) );e++)
printf("\3");
printf("\n");
}
return 0;
}
添加回答
举报
0/150
提交
取消