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

给你的可能是T\D\H中的任意两个值

Posted by JustLyn at 2008-08-05 16:32:13 on Problem 3299
In Reply To:帮我看看我的哪个地方错了~OLE~~ Posted by:liuwenjie at 2008-08-05 11:38:11
> #include<stdio.h>
> #include<math.h>
> int main()
> {
> 	float t,d,h,e,a;
> 	while(scanf("%f%f",&t,&d)!=-1)
> 	{
> 		a=(5417.7530*((1/273.16)-(1/(d+273.16))));	
> 		e=6.11*pow(2.718281828,a);
> 		h=t+(0.5555*(e-10));
> 		printf("T %.1f D %.1f H %.1f\n",t,d,h);
> 	}
> 	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