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 8888SCU at 2008-01-13 15:35:16 on Problem 1005
In Reply To:虚心的求教,错在哪里了? Posted by:sunshinelims at 2008-01-12 20:09:02
#include<stdio.h>
int main()
{
	double a,b;
	int t,times=1;
	scanf("%d",&t);
	while(t--)
	{
		scanf("%lf%lf",&a,&b);
		printf("Property %d: This property will begin eroding in year %d.\n",times++,(int)(3.14159265*(a*a+b*b)/100)+1);
	}
	printf("END OF OUTPUT.\n");
	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