mpfeitech7416 最近的时间轴更新
mpfeitech7416

mpfeitech7416

V2EX 第 504066 号会员,加入于 2020-08-16 21:06:31 +08:00
今日活跃度排名 11904
88 VIP
二手交易  •  mpfeitech7416  •  161 天前  •  最后回复来自 mpfeitech7416
1
新鲜 88vip
二手交易  •  mpfeitech7416  •  162 天前  •  最后回复来自 mpfeitech7416
1
出 铭瑄 (MAXSUN) MS-GeForce RTx3050 1600 [全新]
二手交易  •  mpfeitech7416  •  2023-05-17 14:21:15 PM  •  最后回复来自 bitkuang8
1
出一个在保 mac mini M1 、16G/256,橙色新、询价
二手交易  •  mpfeitech7416  •  2023-04-20 09:16:38 AM  •  最后回复来自 mpfeitech7416
13
出会员 今天开通的
二手交易  •  mpfeitech7416  •  2023-04-09 17:36:03 PM  •  最后回复来自 mpfeitech7416
3
出个自用 mbp、 2018 款 15 寸/32/512
二手交易  •  mpfeitech7416  •  2023-03-30 12:30:49 PM  •  最后回复来自 icenine
3
周五了轻松一下, 出个电脑 2018 款 15 寸/32/512
二手交易  •  mpfeitech7416  •  2023-03-25 10:16:59 AM  •  最后回复来自 mpfeitech7416
3
出一个未到货订单、 mdm 定制机,购于站内老哥
二手交易  •  mpfeitech7416  •  2023-03-23 09:57:22 AM  •  最后回复来自 halo123112
12
mpfeitech7416 最近回复了
30 天前
回复了 ABCDiSDR 创建的主题 Apple 感慨库克刀法精准-----感慨
@ABCDiSDR 淘宝搜 Dr MAC 质保一年, 在北京,我是直接拿到他们店里弄的, 你可以问问邮寄咋搞
30 天前
回复了 ABCDiSDR 创建的主题 Apple 感慨库克刀法精准-----感慨
我扩容的 2T , 测试的最大速度读写才是 3500M/s , 扩容 1150rmb
36 天前
回复了 zhuifeng1017 创建的主题 Apple 6k 换主板(mbp2019-16 顶配), 是否值得?
找个靠谱的作坊修修得了
106 天前
回复了 zungmou 创建的主题 数学 一道 6-7 年级奥数题
private static int minDaysToCollect100Pokemons() {
int[][] dp = new int[101][6];
for (int[] row : dp) {
Arrays.fill(row, INF);
}

// 初始化状态
dp[0][3] = dp[0][4] = dp[0][5] = 0;

// 填充 DP 表
for (int i = 0; i <= 100; i++) {
for (int last : new int[]{3, 4, 5}) {
if (dp[i][last] != INF) {
if (i + 3 <= 100 && last != 3) {
dp[i + 3][3] = Math.min(dp[i + 3][3], dp[i][last] + 1);
}
if (i + 4 <= 100 && last != 4) {
dp[i + 4][4] = Math.min(dp[i + 4][4], dp[i][last] + 1);
}
if (i + 5 <= 100 && last != 5) {
dp[i + 5][5] = Math.min(dp[i + 5][5], dp[i][last] + 1);
}
}
}
}
return Math.min(dp[100][3], Math.min(dp[100][4], dp[100][5]));
}
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   978 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 18ms · UTC 22:08 · PVG 06:08 · LAX 15:08 · JFK 18:08
Developed with CodeLauncher
♥ Do have faith in what you're doing.