鴉は拠り所について語り合う
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
macleM to まくるの競技プログラミングメモ ·
edit-2
4 years ago

E - Get Everything(AtCoder Beginner Contest 142)

atcoder.jp

external-link
message-square
0
link
fedilink
1
external-link

E - Get Everything(AtCoder Beginner Contest 142)

atcoder.jp

macleM to まくるの競技プログラミングメモ ·
edit-2
4 years ago
message-square
0
link
fedilink
E - Get Everything
atcoder.jp
external-link
AtCoder is a programming contest site for anyone from beginners to experts. We hold weekly programming contests online.

基本的にナップサックDPだが宝箱の状態をbitで管理する
dp[i][j] iは鍵番号、jはbitが立ってる番号が宝箱開封済とする

解答例(C++) https://atcoder.jp/contests/abc142/submissions/27600466

alert-triangle
You must log in or register to comment.

まくるの競技プログラミングメモ

macle

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

※注意

自分(雑魚)のメモなので解説は恐ろしく雑です。ご了承ください

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 1 user / 6 months
  • 1 local subscriber
  • 64 subscribers
  • 21 Posts
  • 0 Comments
  • Modlog
  • mods:
  • macle
  • UI: 0.19.11-KR1
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org