| ||||||||||
| 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 | |||||||||
我的代码怎么了?#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