`
猫太的鱼
  • 浏览: 233464 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

1005

c 
阅读更多

#include <stdio.h>
#include <math.h>

int main()
{
        int count;
        double x,y;
        int i;
        scanf("%d",&count);
        for(i=0;i!=count;i++)
        {
                scanf("%lf %lf",&x,&y);
                printf("Property %d: This property will begin eroding in year %d.\n",i+1,(int)ceil((x*x+y*y)*3.14/100));
        }
        printf("END OF OUTPUT.\n");
        return 0;
}


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics