Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
请伸出你的援助之手....#include<stdio.h> #include<math.h> const double p=acos(-1); void main() { int time,i; float x=0,y=0; scanf("%d",&time); for(i=0;i<time;i++) { fflush(stdin); scanf("%f %f",&x,&y); float t=((x*x+y*y)*p)/100.0; printf("Property %d: This property will begin eroding in year %d.\n",i+1,int(t)+1); } printf("END OF OUTPUT.\n"); } 一直wa,我快疯了.... 指点迷津,大师....谢谢了..... Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator