Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
给出一个公式吧..自己也可以推推han4(1)=1; han4(n)=min(2*han4(i)+han3(n-i)) (0<i<n) han3(n)=2*han3(n-1)+1; han3,han4表示有3,4个POLE,同样的思路,可以将其推广到任意POLE,当然,复杂度也会很高.. Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator