CodeForces - 31E TV Game【DP】
题目链接:https://codeforces.com/contest/31/problem/E思路来自洛谷@Binary_Search_Treedp[i][j]表示第i位到第n位中A选了j位的最大A+B#include <iostream>#include <cstdio>#include <cstdlib>#include <cctype>#include <cmat