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:一直WA,house和man的数组下标(开始是0)改成从1开始就对了。。这算什么!

Posted by 134215090052 at 2015-08-11 08:26:50 on Problem 2195
In Reply To:一直WA,house和man的数组下标(开始是0)改成从1开始就对了。。这算什么! Posted by:hzau2012310200601 at 2014-04-11 22:23:07
匹配数组如果初始化为0,编号为0的man与house匹配和没有匹配有什么区别,下标从零开始的时候,匹配数组初始化为-1试试

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