can anyone explain to me this solution ?
Problem : C. Yet Another Card Deck solution : Link solution by : icecuber
thanks in advance :D
Codeforces Edu Round 190 (Div 2) — Solution Discussion