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

用下面这段测试程序交shu的B题,居然TLE,10秒的题目,误差也太大了吧

Posted by xuezaiyue at 2006-10-17 19:43:15
#include <cstdio>
#include <ctime>

int main()
{
	clock_t a,b;
	a=clock();

	do
	{
		b=clock();
	}
	while((double)(b - a) / CLOCKS_PER_SEC < 2.0);

	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