Codeforces Round #579 (Div. 3) Complete the Projects(贪心、DP)

NoSuchKey