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

C - Reorder Cards(AtCoder Beginner Contest 213)

atcoder.jp

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

C - Reorder Cards(AtCoder Beginner Contest 213)

atcoder.jp

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

座標圧縮するだけとしか言いようがないw

座標圧縮はこのようなソートと二分探索をつかう方法と解答例のようなstd::setとstd::mapを使う方法がある。(他にもあるのかな?)

解答例(C++)
https://atcoder.jp/contests/abc213/submissions/27596747

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