| ||||||||||
| 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 | |||||||||
受不了了,这程序在visucal c++上可以调适,但在这上面怎么也过不了,请牛人指点一下!!不胜感谢!!1005
#include<stdio.h>
void main(){
double x,y;
int i=1,n;
scanf("%d",&n);
for(;i<=n;i++){
scanf("%lf %lf",&x,&y);
printf("Property %d: This property will begin eroding in year %d.\n",i,1+int(3.1415926*(x*x+y*y)/2/50));
}
}
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator