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:这几组数据似乎能hack网上一堆代码,如果要特判所有的局部不合法情况的话是不是不太合理

Posted by Komachi at 2018-11-04 22:18:02 on Problem 2308 and last updated at 2018-11-04 22:18:55
In Reply To:这几组数据似乎能hack网上一堆代码,如果要特判所有的局部不合法情况的话是不是不太合理 Posted by:Komachi at 2018-11-04 21:56:05
...你甚至可以不写BFS和DFS而只用判类似于
AB
BA
且A,B均只有两个的这个局部情况,
以及某个字符是奇数的情况就可以顺利通过此题了。。。。

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