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

......疑问更多了,我再看看吧,谢谢,一会可能要给您发到bdfzoi@126.com,不知妥否?

Posted by c0500301036 at 2005-05-03 12:30:07 on Problem 2426
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:
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