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

打印数字

📝 Solutions 🔵 仅限 C++
Problems Description
<p style="color:#336699;font-family:'Times New Roman';font-size:18px;"> 打印语句有两种格式,一种是紧凑打印,一种是换行打印。如3和4两items数, </p> <p style="color:#336699;font-family:'Times New Roman';font-size:18px;"> 紧凑打印如下: </p> <p style="color:#336699;font-family:'Times New Roman';font-size:18px;"> 34,打印点在4后面,如果还有打印则从4后面接着打印。 </p> <p style="color:#336699;font-family:'Times New Roman';font-size:18px;"> 换行打印如下: </p> <p style="color:#336699;font-family:'Times New Roman';font-size:18px;"> 3 </p> <p style="color:#336699;font-family:'Times New Roman';font-size:18px;"> 4 </p>
Input格式
<span style="color:#336699;font-family:'Times New Roman';font-size:18px;line-height:28px;background-color:#BBD8E9;">无输入</span>
Output格式
<span style="color:#336699;font-family:'Times New Roman';font-size:18px;line-height:28px;background-color:#BBD8E9;">首先紧凑打印3和4,在4后面跟着换行打印3和4。</span>
Sample
Sample Input 1
no input needed
Sample Output 1
343 4
Submit Code
请先Login后Submit

🤖 AI 解题助手

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