Codeforces 665E. Beautiful Subarrays (trie树)

NoSuchKey