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

受不了了,这程序在visucal c++上可以调适,但在这上面怎么也过不了,请牛人指点一下!!不胜感谢!!

Posted by C0400101014 at 2004-03-29 22:32:57
1005




#include<stdio.h>

void main(){
      double  x,y;
      int i=1,n;
      scanf("%d",&n);
      for(;i<=n;i++){
             scanf("%lf     %lf",&x,&y);
             printf("Property %d: This property will begin eroding in year  %d.\n",i,1+int(3.1415926*(x*x+y*y)/2/50));
       }
}      

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