当前位置:网站首页>宽度与对齐
宽度与对齐
2022-07-04 13:32:00 【Zaltana】
输出455,-123,987654,宽度为5,分别左对齐和右对齐
格式
输入格式:无
输出格式:输出为整型,空格分隔。每个数的输出占一行
样例
输入:无
输出:455 455
-123 -123
987654 987654
#include<bits/stdc++.h>
using namespace std;
int main( )
{
printf("%-5d %5d\n" ,455,455);
printf("%-5d %5d\n" ,-123,-123);
printf("%-5d %5d\n" , 987654 , 987654);
return 0;
}边栏推荐
- 对话龙智高级咨询顾问、Atlassian认证专家叶燕秀:Atlassian产品进入后Server时代,中国用户应当何去何从?
- Data Lake (13): spark and iceberg integrate DDL operations
- Weibo and Huya advance into interest communities: different paths for peers
- Numpy notes
- 智能客服赛道:网易七鱼、微洱科技打法迥异
- Partial modification - progressive development
- 产品好不好,谁说了算?Sonar提出分析的性能指标,帮助您轻松判断产品性能及表现
- 现代控制理论入门+理解
- Analysis of nearly 100 million dollars stolen and horizon cross chain bridge attacked
- 为什么国产手机用户换下一部手机时,都选择了iPhone?
猜你喜欢
![[differential privacy and data adaptability] differential privacy code implementation series (XIV)](/img/de/c053f376fe90c2697ffc640fab57e8.jpg)
[differential privacy and data adaptability] differential privacy code implementation series (XIV)

Leecode learning notes - Joseph problem

Introduction to modern control theory + understanding

Guitar Pro 8win10最新版吉他学习 / 打谱 / 创作

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

Free, easy-to-use, powerful lightweight note taking software evaluation: drafts, apple memo, flomo, keep, flowus, agenda, sidenote, workflow

LVGL 8.2 text shadow

Redis 发布和订阅

LVGL 8.2 Line wrap, recoloring and scrolling

Guitar Pro 8win10 latest guitar learning / score / creation
随机推荐
近一亿美元失窃,Horizon跨链桥被攻击事件分析
Techsmith Camtasia Studio 2022.0.2屏幕录制软件
LVGL 8.2 Menu
selenium 元素交互
Numpy notes
Ffprobe common commands
MP3是如何诞生的?
Five minutes of machine learning every day: why do we need to normalize the characteristics of numerical types?
Ranking list of databases in July: mongodb and Oracle scores fell the most
LVGL 8.2 List
Deep learning 7 transformer series instance segmentation mask2former
各大主流编程语言性能PK,结果出乎意料
Quick introduction to automatic control principle + understanding
How to build a technical team that will bring down the company?
How to handle exceptions in multithreading?
信号处理之一阶RC低通滤波器宏指令实现(繁易触摸屏)
Guitar Pro 8win10最新版吉他学习 / 打谱 / 创作
Kubernets pod exists finalizers are always in terminating state
[MySQL from introduction to proficiency] [advanced chapter] (IV) MySQL permission management and control
Deep learning neural network case (handwritten digit recognition)