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

这道题目的Special Judge能判断这样的输出吗

Posted by needisword at 2022-07-19 11:27:21 on Problem 1015
经过暴力测试,我的代码和网上能AC的代码输出几乎是一样的,把不同的结果抽象出来就是下面的例子

2 1
10 13
13 10
0 0

这里 10 13 和 13 10 显然都是正确答案。一个类似的例子:

9 5
20 4
17 12
9 17
12 12
11 1
10 7
1 2
3 12
18 1
0 0

这里 50 49 和 49 50 也都是正确答案,完整输出:

Jury #1
Best jury has value 49 for prosecution and value 50 for defence:
 2 3 4 6 7

Jury #1
Best jury has value 50 for prosecution and value 49 for defence:
 2 3 5 6 8


反正暴力测试显示我的代码和AC代码只有这些区别,sumD和sumP是互换的两个数字,两个都是正确答案。
或者我的代码哪里有问题暴力测试没测出来

 


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