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

打印简单字符

📝 Solutions 🔵 仅限 C++
Problems Description
<p style="font-family:'Times New Roman';color:#336699;font-size:18px;"> 打印格式在pascal中有单场宽与双场宽之points。单场宽适合于integer,longint,char,string等类型,双场宽适合于有小数的real等数据类型。 </p> <p style="font-family:'Times New Roman';color:#336699;font-size:18px;"> 比如,writeln(a:6)语句,其中:6表示a要占6items位置,如果a位置不够6位,那前面用空格代替,不够几格空几格。如果a位置超过或等于6,按原位置长度输出。 </p> <p style="font-family:'Times New Roman';color:#336699;font-size:18px;"> 现在请你用尝试用单场宽来打印下面的图形 </p> <p style="font-family:'Times New Roman';color:#336699;font-size:18px;"> &nbsp; #### &nbsp; &nbsp; &nbsp;占6items位置,前面空2格<br /> &nbsp; @@@ &nbsp; 占5items位置,前面空2格<br /> &nbsp; !! &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 占4items位置,前面空2格<br /> &nbsp; = &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 占3items位置,前面空2格 </p>
Input格式
<span style="line-height:28px;background-color:#bbd8e9;font-family:'Times New Roman';color:#336699;font-size:18px;">无输入</span>
Output格式
<span style="line-height:28px;background-color:#bbd8e9;font-family:'Times New Roman';color:#336699;font-size:18px;">指定的图形</span>
Sample
Sample Input 1
无输入
Sample Output 1
#### @@@ !! =
Submit Code
请先Login后Submit

🤖 AI 解题助手

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