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:青蛙约会这个题目难点在那阿,为什么老wa

Posted by lujianxun at 2008-10-13 19:30:35 on Problem 1061
In Reply To:青蛙约会这个题目难点在那阿,为什么老wa Posted by:first at 2003-12-12 22:45:39
> 	int k=0;
> 	while((k*(x-y)+m-n)%L!=0&&k<L)
> 		         {
> 				k++;
> 			}
> 		  if(k<L)
>                           cout<<k<<endl;
> 	      
> 		else
> 		       cout<<"Impossible\n";
> 这杨应该没问题的阿

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