【Codeforces Round 273 (Div 2)C】【贪心 脑洞】 Table Decorations 三种气球装饰桌子 同桌三个气球不完全同色的最多桌子装饰数
最新推荐文章于 2021-06-04 13:48:07 发布
你有红、绿、蓝三种颜色的气球,每张桌子需要装饰3个不同颜色的气球。给定每种颜色的气球数量,你的任务是找出能按要求装饰的最大桌子数量。输入包含三整数,分别代表红、绿、蓝气球的数量,输出能装饰的最多桌子数。
摘要由CSDN通过智能技术生成