3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

AtCoder Beginner Contest 238 D - AND and SUM の解説をもう少し噛みくだいてみた

Last updated at Posted at 2022-02-05
1 / 7

問題

スクリーンショット 2022-02-06 2.18.36.png


ユーザ解説

解説があること自体がありがたいです、ありがとうございます。
スクリーンショット 2022-02-06 2.21.11.png


噛みくだき

Image from iOS.jpg


ここがポイント

・x+yを論理演算(半加算器)に分解する
・繰り上がり桁、繰り上がらない桁のうち、 繰り上がらない桁に着目
・問題の条件から判定式を求める


分かると楽しい


参考

https://atcoder.jp/contests/abc238/tasks/abc238_d

3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?