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

找到bug了。计数排序的数组开小了。

Posted by NeverLiving at 2011-12-12 21:01:09 on Problem 3450
In Reply To:现在矛盾转移为static与全局变量的关系 Posted by:NeverLiving at 2011-12-11 21:16:44
计数排序的数组开小了。
我原以为cnt[]开字符集那么大就行,实际发现应该开总长度那么大。

长记性了。

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