当前位置:网站首页>输入宽度!
输入宽度!
2022-07-04 13:32:00 【Zaltana】
输入123456789给变量a1,a2,a3,宽度为3,然后输出a1,a2,a3,空格分隔。
格式
输入格式:123456789
输出格式:输出为整型,空格分隔。
样例
输入:123456789
输出:123 456 789
#include<bits/stdc++.h>
using namespace std;
int main( )
{
int a, b, c;
scanf("%3d%3d%3d", &a, &b,&c);
printf("%d %d %d" ,a,b,c);
return 0;
}边栏推荐
- Detailed explanation of visual studio debugging methods
- LVGL 8.2 Draw label with gradient color
- leecode学习笔记-约瑟夫问题
- Openresty current limiting
- Is BigDecimal safe to calculate the amount? Look at these five pits~~
- Helix Swarm中文包发布,Perforce进一步提升中国用户体验
- LVGL 8.2 List
- 浮点数如何与0进行比较?
- How to build a technical team that will bring down the company?
- 近一亿美元失窃,Horizon跨链桥被攻击事件分析
猜你喜欢

Ranking list of databases in July: mongodb and Oracle scores fell the most

Five minutes per day machine learning: use gradient descent to complete the fitting of multi feature linear regression model

自动控制原理快速入门+理解

都在说DevOps,你真正了解它吗?

Luo Gu - some interesting questions

Kubernets pod exists finalizers are always in terminating state

Leecode learning notes - Joseph problem

Luo Gu - some interesting questions 2

现代控制理论入门+理解
![LeetCode 1200 最小绝对差[排序] HERODING的LeetCode之路](/img/4a/6763e3fbdeaf9de673fbe8eaf96858.png)
LeetCode 1200 最小绝对差[排序] HERODING的LeetCode之路
随机推荐
Flutter reports an error no mediaquery widget ancestor found
flutter 报错 No MediaQuery widget ancestor found.
92. (cesium chapter) cesium building layering
Node mongodb installation
Halo effect - who says that those with light on their heads are heroes
[MySQL from introduction to proficiency] [advanced chapter] (IV) MySQL permission management and control
深度学习 神经网络案例(手写数字识别)
关于FPGA底层资源的细节问题
Introduction to modern control theory + understanding
openresty 重定向
Is it safe to open an account online for stock speculation? Will you be cheated.
UFO:微软学者提出视觉语言表征学习的统一Transformer,在多个多模态任务上达到SOTA性能!...
The performance of major mainstream programming languages is PK, and the results are unexpected
Leetcode 1200 minimum absolute difference [sort] The Path of leetcode for heroding
Luo Gu - some interesting questions 2
When synchronized encounters this thing, there is a big hole, pay attention!
Deep learning neural network case (handwritten digit recognition)
Openresty current limiting
Guitar Pro 8win10 latest guitar learning / score / creation
C language set operation