USACO 2022 US Open Contest, Silver Problem 3. COW Operations
USACO 2022 US Open Contest, Silver Problem 3. COW Operations Bessie finds a string?ss?of length at most?2?1052?105?containing only the three characters 'C', 'O', and 'W'. She wants to know if it's ...