Skip to content

DP のサンプルプログラムの修正 #246

Description

@chvmvd

image

この問題の

if n == 0 or n == 1:
    return dp[n]

は不要ではないか。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions