Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:关于"不好意思,本人没帮你解决问题,还给你增添了麻烦,这是我的程序(C++版)"....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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator