Problem 822 · Medium

Card Flipping Game

Cards with equal faces poison their number; the answer is the smallest unpoisoned face.

Open the interactive visualisation