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 947186602 at 2020-08-30 21:24:12 on Problem 3036
黄蜂有多少种走法,它在六边形格子中走 n 步并且回到初始位置一共有多少种走法。
比如说:
2 
初始位置外6个点走一步能到,共6种~



------------
思路提示:记忆化搜索
dp[k][i][j] = all_sum (dp[k-1][i-dx[?]][j-dy[?]]) 第k步走到i,j的方法数

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