pekempey's blog


Entries from 2019-08-24 to 1 day

Educational Codeforces Round 71 (Rated for Div. 2) G. Indie Album'm not good at string problems, but I have solved it luckily. First we construct the Aho-Corasick of the query strings. If N strings is produced by type 2 except the first string, we can direct…