Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

为什么这样过不了?哪位仁兄帮一下!

Posted by 962464 at 2008-08-12 20:21:03 on Problem 2959
#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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator