当前位置:网站首页>输入宽度!
输入宽度!
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;
}
边栏推荐
- leecode学习笔记-约瑟夫问题
- Dialogue with ye Yanxiu, senior consultant of Longzhi and atlassian certification expert: where should Chinese users go when atlassian products enter the post server era?
- Luo Gu - some interesting questions
- C language achievement management system for middle school students
- Leecode learning notes - Joseph problem
- Deep learning 7 transformer series instance segmentation mask2former
- LVGL 8.2 List
- 毕业季-个人总结
- Intelligent customer service track: Netease Qiyu and Weier technology play different ways
- Guitar Pro 8win10 latest guitar learning / score / creation
猜你喜欢
LVGL 8.2 Line
Combined with case: the usage of the lowest API (processfunction) in Flink framework
Ffmpeg Visual Studio development (IV): audio decoding
Helix Swarm中文包发布,Perforce进一步提升中国用户体验
自动控制原理快速入门+理解
《opencv学习笔记》-- 线性滤波:方框滤波、均值滤波、高斯滤波
SAIC Maxus officially released its new brand "mifa", and its flagship product mifa 9 was officially unveiled!
Five minutes of machine learning every day: how to use matrix to represent the sample data of multiple characteristic variables?
阿里被裁员工,找工作第N天,猎头又传来噩耗...
Why do domestic mobile phone users choose iPhone when changing a mobile phone?
随机推荐
Guitar Pro 8win10 latest guitar learning / score / creation
Explain of SQL optimization
[C language] Pointer written test questions
阿里被裁员工,找工作第N天,猎头又传来噩耗...
深度学习7 Transformer系列实例分割Mask2Former
【C语言】指针笔试题
Opencv learning notes - linear filtering: box filtering, mean filtering, Gaussian filtering
Korean AI team plagiarizes shock academia! One tutor with 51 students, or plagiarism recidivist
Analysis of nearly 100 million dollars stolen and horizon cross chain bridge attacked
《opencv学习笔记》-- 线性滤波:方框滤波、均值滤波、高斯滤波
[cloud native] how can I compete with this database?
为什么国产手机用户换下一部手机时,都选择了iPhone?
LVGL 8.2 Draw label with gradient color
(1) The standard of performance tuning and the correct posture for tuning - if you have performance problems, go to the heapdump performance community!
Weibo and Huya advance into interest communities: different paths for peers
【学习笔记】拟阵
内存管理总结
Techsmith Camtasia Studio 2022.0.2屏幕录制软件
LVLG 8.2 circular scrolling animation of a label
深度学习 神经网络案例(手写数字识别)