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

why out put limit exceed??xdjm们帮忙啊

Posted by simon0524cn at 2005-01-10 14:41:14 on Problem 1665
#include<stdio.h>
#include<math.h>
void main(){
	float dia,dis,mph;
	int re,time,n=0;
	scanf("%f %d %d",&dia,&re,&time);
	while(re!=0){
	    n++;  
		dis=dia/12/5280*3.1415927*re;
		mph=dis/time*60*60;
		printf("Trip #%d: %.2f %.2f\n",n,dis,mph);
		scanf("%f %d %d",&dia,&re,&time);
	    }
}

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