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 pillar at 2007-08-23 20:13:20 on Problem 1121
自己出的数据都过不了的程序,交上去就AC了。
给一组数据
5
BCD A
A BCD
D ABC
. .
D ABC
1 2
1 4
1 5
2 3
2 4
3 4
5 3
0 0

答案应该是,(如果我没有理解错题意的话)
:BCD:
:A:
:D:
:ABCD:
:D:

我的程序跑出来是
:BCD:
:A:
:D:
:AD:
:D:

这也能过???


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