| ||||||||||
| 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 | |||||||||
......疑问更多了,我再看看吧,谢谢,一会可能要给您发到bdfzoi@126.com,不知妥否?In Reply To:您的程序是不是写错了,我的程序按您那么写是可以AC的...... Posted by:TN at 2005-05-03 12:22:48 > int main()
> {
> sign[1]='+';sign[2]='-';sign[3]='*';sign[4]='%';
> while (1)
> {
> scanf("%d %d %d",&n,&k,&m);
> if (n==0 && m==0 && k==0) return 0;
> if (gcd(k,gcd(n,m))!=1) printf("0\n");else
> bfs(mod(n));
> }
> }
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator