Codeforces Global Round 2 E. Pavel and Triangles(思维+DP)

NoSuchKey