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 sandytea at 2011-04-05 21:57:10 on Problem 1322
先是写O(C^3logN)的矩乘,被卡时限了,后来注意到比较大的N可以缩小,只要奇偶性不变就行,但是100^3*log1000还是TLE……再后来才意识到当N=1000时朴素的DP是比矩乘快的……
7次才AC啊……

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