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

粗心

Posted by c0500448129 at 2005-05-05 11:22:17 on Problem 1014
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:
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