当前位置:网站首页>Width and alignment
Width and alignment
2022-07-04 15:04:00 【Zaltana】
Output 455,-123,987654, Width is 5, Align left and right respectively
Format
Input format : nothing
Output format : The output is an integer , The blank space to separate . The output of each number occupies one line
Examples
Input : nothing
Output :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;
}边栏推荐
- flutter 报错 No MediaQuery widget ancestor found.
- Leecode learning notes - Joseph problem
- 深度学习 神经网络案例(手写数字识别)
- Guitar Pro 8win10最新版吉他学习 / 打谱 / 创作
- Graduation season - personal summary
- Deep learning neural network case (handwritten digit recognition)
- Building intelligent gray-scale data system from 0 to 1: Taking vivo game center as an example
- Optimization method of deep learning neural network
- 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?
- Guitar Pro 8win10 latest guitar learning / score / creation
猜你喜欢

leecode学习笔记-约瑟夫问题

【大连理工大学】考研初试复试资料分享

阿里被裁员工,找工作第N天,猎头又传来噩耗...

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

Halcon knowledge: NCC_ Model template matching

A keepalived high availability accident made me learn it again

Helix swarm Chinese package is released, and perforce further improves the user experience in China

关于FPGA底层资源的细节问题

LVGL 8.2 Draw label with gradient color

Wt588f02b-8s (c006_03) single chip voice IC scheme enables smart doorbell design to reduce cost and increase efficiency
随机推荐
No servers available for service: xxxx
Deep learning 7 transformer series instance segmentation mask2former
LVGL 8.2 Draw label with gradient color
现代控制理论入门+理解
es6模块化
Leetcode 1200 minimum absolute difference [sort] The Path of leetcode for heroding
Five minutes of machine learning every day: how to use matrix to represent the sample data of multiple characteristic variables?
Details of FPGA underlying resources
Deep learning neural network case (handwritten digit recognition)
从0到1建设智能灰度数据体系:以vivo游戏中心为例
Cann operator: using iterators to efficiently realize tensor data cutting and blocking processing
openresty 限流
Is it safe to open an account online for stock speculation? Will you be cheated.
内存管理总结
[C language] Pointer written test questions
UFO:微软学者提出视觉语言表征学习的统一Transformer,在多个多模态任务上达到SOTA性能!...
Classify boost libraries by function
Optimization method of deep learning neural network
IO流:节点流和处理流详细归纳。
深度学习 网络正则化