| ||||||||||
| 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:我的代码怎么了?In Reply To:我的代码怎么了? Posted by:044a152029 at 2007-01-04 21:05:07 > #include<stdio.h>
> void main()
> {
> int x,y,m,n,l,i;
> int f,b;
> i=1;
> scanf("%d %d %d %d %d %d",&x,&y,&m,&n,&l);
~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
> f=n-m;
> b=y-x;
> while(((f*i+b)%l)!=0)
> i++;
> printf("%d\n",i);
> }
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator