当前位置:网站首页>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;
}边栏推荐
- 炒股网上开户安全吗?会不会被骗。
- es6模块化
- Five minutes of machine learning every day: why do we need to normalize the characteristics of numerical types?
- Leetcode 1200 minimum absolute difference [sort] The Path of leetcode for heroding
- Comment configurer un accord
- Optimization method of deep learning neural network
- 03-存储系统
- 近一亿美元失窃,Horizon跨链桥被攻击事件分析
- Classify boost libraries by function
- 03 storage system
猜你喜欢

No servers available for service: xxxx

韩国AI团队抄袭震动学界!1个导师带51个学生,还是抄袭惯犯

UFO: Microsoft scholars have proposed a unified transformer for visual language representation learning to achieve SOTA performance on multiple multimodal tasks

Luo Gu - some interesting questions

函数计算异步任务能力介绍 - 任务触发去重

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

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

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

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

LVGL 8.2 Line
随机推荐
浮点数如何与0进行比较?
5g TV cannot become a competitive advantage, and video resources become the last weapon of China's Radio and television
TechSmith Camtasia studio 2022.0.2 screen recording software
Wt588f02b-8s (c006_03) single chip voice IC scheme enables smart doorbell design to reduce cost and increase efficiency
C language book rental management system
MP3是如何诞生的?
03 storage system
Redis publish and subscribe
C language course design questions
C language set operation
LeetCode 1200 最小絕對差[排序] HERODING的LeetCode之路
es6模块化
LVGL 8.2 LED
Is BigDecimal safe to calculate the amount? Look at these five pits~~
Programmer turns direction
Free, easy-to-use, powerful lightweight note taking software evaluation: drafts, apple memo, flomo, keep, flowus, agenda, sidenote, workflow
现代控制理论入门+理解
numpy笔记
Optimization method of deep learning neural network
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