Codeforces 550A Two Substrings #brute_force #dp #greedy #implementation #strings 580C Kefa and Park #dfs_and_similar #graphs #trees Round #775 Div.1 A. Weird Sum #combinatorics #data_structures #geometry #math #matrices #sortings #Prefix sum #Point contribution