当前位置:网站首页>宽度与对齐
宽度与对齐
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;
}边栏推荐
- Introduction to asynchronous task capability of function calculation - task trigger de duplication
- Guitar Pro 8win10 latest guitar learning / score / creation
- C language achievement management system for middle school students
- Deep learning 7 transformer series instance segmentation mask2former
- UFO:微软学者提出视觉语言表征学习的统一Transformer,在多个多模态任务上达到SOTA性能!...
- 深度学习7 Transformer系列实例分割Mask2Former
- Halo effect - who says that those with light on their heads are heroes
- Korean AI team plagiarizes shock academia! One tutor with 51 students, or plagiarism recidivist
- IO流:节点流和处理流详细归纳。
- (1) The standard of performance tuning and the correct posture for tuning - if you have performance problems, go to the heapdump performance community!
猜你喜欢

Deep learning neural network case (handwritten digit recognition)

Quick introduction to automatic control principle + understanding

LVGL 8.2 Line

内存管理总结

92. (cesium chapter) cesium building layering

Five minutes of machine learning every day: why do we need to normalize the characteristics of numerical types?

Redis 解决事务冲突之乐观锁和悲观锁

Redis 發布和訂閱

MP3是如何诞生的?

Helix swarm Chinese package is released, and perforce further improves the user experience in China
随机推荐
LVLG 8.2 circular scrolling animation of a label
Query optimizer for SQL optimization
为什么国产手机用户换下一部手机时,都选择了iPhone?
UFO: Microsoft scholars have proposed a unified transformer for visual language representation learning to achieve SOTA performance on multiple multimodal tasks
C language programming
Transplant tinyplay for imx6q development board QT system
Helix swarm Chinese package is released, and perforce further improves the user experience in China
Analysis of nearly 100 million dollars stolen and horizon cross chain bridge attacked
[local differential privacy and random response code implementation] differential privacy code implementation series (13)
When synchronized encounters this thing, there is a big hole, pay attention!
深度学习 网络正则化
Optimization method of deep learning neural network
numpy笔记
LVGL 8.2 Sorting a List using up and down buttons
Who the final say whether the product is good or not? Sonar puts forward performance indicators for analysis to help you easily judge product performance and performance
炒股网上开户安全吗?会不会被骗。
音视频技术开发周刊 | 252
产品好不好,谁说了算?Sonar提出分析的性能指标,帮助您轻松判断产品性能及表现
Kubernets pod exists finalizers are always in terminating state
对话龙智高级咨询顾问、Atlassian认证专家叶燕秀:Atlassian产品进入后Server时代,中国用户应当何去何从?