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 mato_no1 at 2011-01-28 22:14:45 on Problem 2531 and last updated at 2011-01-28 22:16:37
In Reply To:我简直要崩溃了 Posted by:mato_no1 at 2011-01-28 22:11:28
问题出在这里:
memset(f, 0, n << 2);
改成
memset(f, 0, sizeof(f));
就AC了……

不过POJ为神马不给memset部分清零呢囧……

另外,刚才加了个剪枝,但是暴搜0ms过,加剪枝的要100+ms……

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