| ||||||||||
| 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>
main()
{
int n,i,num;
float len,D,d,s;
scanf("%d",&n);
for(i=0;i<n;i++)
{
scanf("%f%f%f",&D,&d,&s);
len=3.1415926*(D-d);
num=(int)(len/(s+d));
printf("%d\n",num);
}
}
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator