Classic
Clean & simple
Crystal
Glassmorphism + Neon
Cyberpunk
Neon glitch art
🚫
违规Action检测
禁止Use右键菜单
⚠️ 此Action已被系统记录
1

C语言11.5

📝 Solutions 🔵 仅限 C++
Problems Description
<p> 口袋中有红、黄、蓝、白、黑5种颜色的球若干items。每次从口袋中先后取出3items球,问得到3种不同颜色的球的可能取法,并输出每一种排列的情况。<br /> 要求使用枚举类型来完成本题。 </p>
Input格式
<p> 无 </p>
Output格式
<p> 对于每一种排列的情况,在一行内输出所选的三种颜色,用空格隔开。<br /> 在输出所有排列的情况之后,在最后一行输出排列的情况总数。<br /> 请注意行尾输出换行。 </p>
Sample
Sample Input 1
无
Sample Output 1
red yellow blue red yellow white red yellow black red blue yellow red blue white red blue black red white yellow red white blue red white black red black yellow red black blue red black white yellow red blue yellow red white yellow red black yellow blue red yellow blue white yellow blue black yellow white red yellow white blue yellow white black yellow black red yellow black blue yellow black white blue red yellow blue red white blue red black blue yellow red blue yellow white blue yellow black blue white red blue white yellow blue white black blue black red blue black yellow blue black white white red yellow white red blue white red black white yellow red white yellow blue white yellow black white blue red white blue yellow white blue black white black red white black yellow white black blue black red yellow black red blue black red white black yellow red black yellow blue black yellow white black blue red black blue yellow black blue white black white red black white yellow black white blue 60
Submit Code
请先Login后Submit

🤖 AI 解题助手

OpenRouter
就绪
👋 你好!我是 AI 解题助手。
我已阅读了这problems题,可以帮你points析思路、提供Code示例。
🔓 完全Free · 无需消耗 Token