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

Presentation Error什么意思?

Posted by 328776870 at 2006-09-28 20:00:02
#include<stdio.h>
#include<math.h>
#define PI 3.142
main()
{int i,n,year[200];
 float x,y;
 scanf("%d",&n);
 for(i=0;i<n;i++)
 {
      scanf("%f %f",&x,&y);
      year[i]=(int)(((x*x+y*y)*PI/2)/50+1);
      printf("Property %d : This property will begin eroding in year %d.\n",i+1,year[i]);
 }
 printf("END OF OUTPUT.\n");
}

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