Home
Sign Up
Sign In
推荐关注
›
Meteor
›
JSLint
-
a JavaScript code quality tool
›
jsFiddle
›
D3.js
›
WebStorm
推荐书目
›
JavaScript 权威指南第 5 版
›
Closure: The Definitive Guide
Advertisement
V2EX
›
JavaScript
求个算法
cs3230524
·
Mar 10, 2020
· 2650 views
This topic created in 2265 days ago, the information mentioned may be changed or developed.
已知手牌 a=[aaabbb...nnn],a.length%3==0;求手牌 b=[bbbccc...nnn]最小能要得起的牌是啥。扑克牌是 3 到 A。
Supplement 1 ·
Mar 10, 2020
写得不够明确从新白话说一下吧。
比如牌桌上的牌是[333444...nnn],
求我的手牌最小能要得起的桌面的牌是啥,有可能有鬼牌,鬼牌就是万能牌这样子。鬼牌数量最多 12 个。
手牌
nnn
扑克牌
aaabbb
5 replies
•
2020-03-11 07:30:14 +08:00
1
murmur
Mar 10, 2020
楼主说的是斗地主么?为什么都是 3 个 3 个的牌,这什么扑克的规则,太抽象了。。
2
Roooooys
Mar 10, 2020
RL 能实现
3
cs3230524
OP
Mar 10, 2020
@
murmur
就是飞机,比如 333444,555666777...nnn 这种。就是牌比较多两幅还带 12 个鬼牌。。。
4
cs3230524
OP
Mar 10, 2020
@
Roooooys
RL 是什么
5
Roooooys
Mar 11, 2020
@
cs3230524
强化学习
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
3022 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 50ms ·
UTC 07:16
·
PVG 15:16
·
LAX 00:16
·
JFK 03:16
♥ Do have faith in what you're doing.
❯