bit全探索

Atcoder

【Python】AtCoder Beginner Contest190 A問題 解答

A Very Very Primitive Game B - Magic 3