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 |
粗心In Reply To:真的不知道哪里错,我拿别人ac的程序和我的做了整晚的随机测试,没找出一个不同的解,但我还是wa,我真的不知道哪里错,恳请管理员发那测试给我,和那个输出。 Posted by:ChenXiXing at 2005-05-05 00:41:53 if(sum%2) printf("Can't be divided.\n"); else if(solve()==0) printf("Can't be divided.\n"); else *********************************************************** printf("Can't be divided.\n"); *********************************************************** 应该是"Can be divided." return 1; //这里最好写成return 0; Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator