William The Oblivious
1609E2400· grandmaster3s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
9 12aaabccccc4 a4 b2 b5 a1 b6 b5 c2 a1 a5 a6 b7 b
Output
012212122222
58%
1609E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
9 12aaabccccc4 a4 b2 b5 a1 b6 b5 c2 a1 a5 a6 b7 b
012212122222