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

比赛的时候提交了15次。。。。

Posted by ACM06060 at 2007-05-06 11:01:17 on Problem 3231
In Reply To:这题精度会让人迷茫的啊。。。。 Posted by:ACM06060 at 2007-05-06 11:00:34
> 	double last_t = time;
> 	time += min;
> 
> 	for (i=0; i<sp; i++)
> 	{
> 		arr[stack[i]].finish = time;	
> 		Free += arr[stack[i]].now;
> 		arr[stack[i]].del = true;
> 		nLeft--;
> 	}
> 
> 	for (i=0; i<nTasks; i++)
> 	{
> 		if (!arr[i].del)
> 			arr[i].left -= arr[i].now*min;
> 					min改成(time-last_t) 就不行。。。
> 	}
> 
> 
> 做的我也迷茫了。。。难道加减法也有误差??

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