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 piaofushi919 at 2004-12-08 08:45:42 on Problem 1005
#include <stdio.h>
#include <math.h>
int  main()
{
  	int n,i,year;
  	float x,y;
 	scanf("%d %f %f", &n,&x,&y);
 	for (i=1;i<=n;i++){
 		year=(int)((x*x+y*y)*3.14/2/50);	
 		printf("Property %d :This property This will begin eroding in year %d.\n",i,year); 
 	} 
 	printf("Out of put.\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