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 laihang at 2004-12-24 16:32:37 on Problem 1665
#include <stdio.h>
void main(){
	int i=1;
	float p=3.1415927;
	long b,c;
	float a,d,e;
	scanf ("%f %ld %ld",&a,&b,&c);
	while (b!=0){
		d=a*b*p/5280/12;
		e=a*b/c*p*3600/5280/12;
		printf ("Trip #%d: %.2f %.2f\n",i,d,e);
		i++;
	    scanf ("%f %ld %ld",&a,&b,&c);
	}
}



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