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:请问怎判断“impossible”????

Posted by 86744166 at 2010-03-13 14:27:58 on Problem 1061
In Reply To:请问怎判断“impossible”???? Posted by:xwz_why at 2009-05-03 10:52:27
	if((m*k-n*k)%L==0)//不能见面时,跳出循环的条件
		{   
			cout<<"Impossible"<<endl;
			break;
		}

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