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

Re:so easy 不用任何算法,果断贴代码

Posted by tiezhishizi at 2014-02-03 13:07:51 on Problem 1129
In Reply To:so easy 不用任何算法,果断贴代码 Posted by:130428199210122910 at 2013-01-18 14:22:52
I tried, this code can AC.
But you can find a wrong case:
4
A:D
B:C
C:BD
D:AC

The correct answer is 2, but this code will return 3.
所以,这道题的答案数据是错误的。
正确的算法还是应该使用搜索。

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