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

Re:???

Posted by absolute at 2009-04-06 13:37:05 on Problem 1006
In Reply To:??? Posted by:_LV111 at 2009-04-04 18:08:01
> int Calcu(int pp,int ee,int ii,int dd)
> {
> 	int x=pp+23;
> 	while(!(x>ee&&x>ii&&(x-ee)%28==0&&(x-ii)%33==0))
> 	{
> 		x+=23;
> 	}
> 	while(x<=dd)
> 	{
> 		x+=21252;
> 	}
> 	return x-dd;
> }
> 可是,wa...
你这个算法跟我的不一样啊

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