IMPACT Olympiad for teachers and coaches 2022 Problem G
Can anyone solve this? Problem G
Colin X Sam X Shayan | Easy Problems Duel | NAC Warmup #1
Codeforces Round 946 Solution Discussion