D. Colored Rectangles(动态规划问题) Educational Codeforces Round 93 (Rated for Div. 2)

原题连接: http://codeforces.com/contest/1398/problem/Dhtml 样例:ios input 1 1 1 3 5 4 output 20 input 2 1 3 9 5 1 2 8 5 output 99 input 10 1 1 11 7 20 15 19 14 2 4 13 14 8 11 output 372 题意: 你有三对彩棒的多重集合,即G,B
相关文章
相关标签/搜索