#include <iostream> #include <algorithm> using namespace std; int dp[22]; int main() { int m, n; while (cin >> m >> n) { fill_n(dp, 22, 0); dp[0] = 1; for (int i = 1; i <= n; i++) { for (int j = i; j <= m; j++) { ...