会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Jeanny
寂兮,寥兮,独立不改,周行而不殆
新随笔
新文章
管理
2025年3月20日
状态压缩DP
摘要: 过河 #include <bitsstdc++.h> using namespace std; const int N = (1<<16) + 5; int n, dp[N], t[N], w[N],m; int main() { cin>>m>>n; memset(dp, 0x3f, sizeof
阅读全文
posted @ 2025-03-20 16:44 Jeanny
阅读(18)
评论(0)
推荐(0)