Bear and Five Cards-Codeforces680A
警告
本文最后更新于 2023-07-07,文中内容可能已过时。
题目链接:Bear and Five Cards
大致题意就是小熊有 5 张卡片,每张卡片有对应的分数,他可以选择丢弃 2 张相同的或者 3 张相同的卡片,没有相同的就无法丢弃,问小熊剩下的分数最少是多少。
没有想得那么复杂,由于分数最大才 100,所以直接暴力就好了。
|
|
Buy me a coffee~


题目链接:Bear and Five Cards
大致题意就是小熊有 5 张卡片,每张卡片有对应的分数,他可以选择丢弃 2 张相同的或者 3 张相同的卡片,没有相同的就无法丢弃,问小熊剩下的分数最少是多少。
没有想得那么复杂,由于分数最大才 100,所以直接暴力就好了。
|
|