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

Judge系统只会比较你的输出和标准答案是否一模一样(Special Judge除外),有多余的输出当然会判错

Posted by 150014 at 2008-11-05 19:04:14
In Reply To:而且你程序里主要的错误不在于错误处理,因为测试的时候输入的数据一般都是严格符合要求的,这些语句根本没机会执行,应该不会影响判断。主要在于这一句多余输出cout << "This program accepts two inputs a,b.(a>=0 and b<=10)\n"; Posted by:150014 at 2008-11-05 19:03:08


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