当前位置:网站首页>左右对齐!
左右对齐!
2022-07-04 13:32:00 【Zaltana】
输出3.1415926,22.3456,宽度为14,精度为6,分别左对齐和右对齐。
格式
输入格式:无
输出格式:输出为实型,空格分隔。每个数的输出占一行。
样例
输入:无
输出:3.141593 3.141593
22.345600 22.345600
#include<bits/stdc++.h>
using namespace std;
int main( )
{
printf("%-14.6f %14.6f\n",3.1415926, 3.1415926);
printf("%-14.6f %14.6f",22.3456, 22.3456);
return 0;
}
边栏推荐
- Cann operator: using iterators to efficiently realize tensor data cutting and blocking processing
- flutter 报错 No MediaQuery widget ancestor found.
- 03-存储系统
- 音视频技术开发周刊 | 252
- LVGL 8.2 keyboard
- Analysis of nearly 100 million dollars stolen and horizon cross chain bridge attacked
- Quick introduction to automatic control principle + understanding
- Combined with case: the usage of the lowest API (processfunction) in Flink framework
- 如何配和弦
- 曝光一下阿里的工资待遇和职位级别
猜你喜欢
92. (cesium chapter) cesium building layering
Five minutes of machine learning every day: how to use matrix to represent the sample data of multiple characteristic variables?
音视频技术开发周刊 | 252
LVGL 8.2 Line wrap, recoloring and scrolling
LVGL 8.2 Line
(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屏幕录制软件
When synchronized encounters this thing, there is a big hole, pay attention!
03-存储系统
随机推荐
UFO:微软学者提出视觉语言表征学习的统一Transformer,在多个多模态任务上达到SOTA性能!...
First experience of ViewModel
浮点数如何与0进行比较?
如何配和弦
如何配和弦
Kubernets Pod 存在 Finalizers 一直处于 Terminating 状态
SAIC Maxus officially released its new brand "mifa", and its flagship product mifa 9 was officially unveiled!
Deep learning 7 transformer series instance segmentation mask2former
C language set operation
Numpy notes
What are the concepts of union, intersection, difference and complement?
10. (map data) offline terrain data processing (for cesium)
对话龙智高级咨询顾问、Atlassian认证专家叶燕秀:Atlassian产品进入后Server时代,中国用户应当何去何从?
进制乱炖
Redis 發布和訂閱
LVGL 8.2 text shadow
IO flow: node flow and processing flow are summarized in detail.
IO流:节点流和处理流详细归纳。
LVGL 8.2 Sorting a List using up and down buttons
Analysis of nearly 100 million dollars stolen and horizon cross chain bridge attacked