牛客589873861号
牛客589873861号
全部文章
题解
归档
标签
去牛客网
登录
/
注册
牛客589873861号的博客
全部文章
/ 题解
(共1篇)
题解 | #取石子#
#include <bits/stdc++.h> using namespace std; // 记忆化数组,-1 表示未计算,0 表示必胜态,1 表示必败态 int memo[101][101]; int solve(int n1, int n2) { // 如果状态已计算...
记忆化搜索
2025-04-21
0
9