Hdu 5456 Matches Puzzle Game (记忆化搜索) 2015 ACM-ICPC沈阳网赛
Matches Puzzle Game
Time Limit: 3000/2000 MS (Java/Others) Memory Limit: 65535/102400 K (Java/Others)Total Submission(s): 310 Accepted Submission(s): 210
Problem Description
As an exciting puzzle game for kids and girlfriends, the Matches Puzzle Game asks the player to find the number of possible equations
A−B=C with exactly
n (5≤n≤500) matches (or sticks).
In these equations,
In these equations,