C. Neo-lexicographic Ordering

Problem Name:
C. Neo-lexicographic Ordering
Site:AtCoder
Links:
Tags: