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:关于"不好意思,本人没帮你解决问题,还给你增添了麻烦,这是我的程序(C++版)"....

Posted by syict05570101 at 2007-05-10 08:36:27 on Problem 1061
In Reply To:不好意思,本人没帮你解决问题,还给你增添了麻烦,这是我的程序(C++版) Posted by:happy8860 at 2007-04-05 16:02:32
个人认为
               for(int i=1;i<N;i++)
		if(((VA-VB)*i+(x-y))%L==0)
		{N=i;break;}
中的N定义没什么标准  因为在有关循环次数的地方不能根据L来定义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