题目链接:点击打开链接 Description Organizing a programming contest is not an easy job. To avoid making the problems too difficult, the organizer usually expect the contest result satisfy the following two
#include <bits/stdc++.h>using namespace std;const int MAX_V = 105;int dp[MAX_V][MAX_V];int N, M, P, T;void solve(int m, int t){dp[0][P] = 1;for (int i = 1; i <= M; i++)for (int j = 1; j <= N; j+