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

Re:高手请指教?为什么OUTPUT LIMIT EXCEED?

Posted by wangfengtian at 2009-03-15 16:18:37 on Problem 1665
In Reply To:高手请指教?为什么OUTPUT LIMIT EXCEED? Posted by:BlueBlood at 2005-01-23 10:45:10
> #include <stdio.h>
> #include <iostream.h>
> 
> 
> #define PI 3.1415927
> 
> //finished on 2005.1,20th
> int main()
> {
>     double d= 0,dis,vel;
>     int t=0,rev=0;
>     int count=0;
>     
>     cin>>d>>rev>>t;
> 
>     while ( rev)
>     {
>         count++;
>         dis = PI*rev*d*(1.0/12)*(1.0/5280);
>         vel = dis *3600.0/ t;
>         printf("Trip #%d:",count);
>         printf(" %.2f %.2f\n",dis,vel);
>        scanf ("%f %d %d",&d,&rev,&t);
>     };    
>     
>     
>     return 0;
> }    

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