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

FT to death,原来是pow(N,1.0/3)有误差,自己写了个映射表就AC了

Posted by x1e398u at 2005-11-28 14:16:58 on Problem 2363
In Reply To:都已经是暴力了怎么还WA。。。 Posted by:x1e398u at 2005-11-28 14:05:52
int k[1001]={0,1,1};
for(int i=2,j=2;i<11;i++)
{
	int border=i*i*i;
	for(;j<=border;j++)
		k[j]=i;
}

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