当前位置:网站首页>左右对齐!
左右对齐!
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;
}
边栏推荐
- SAIC Maxus officially released its new brand "mifa", and its flagship product mifa 9 was officially unveiled!
- Leetcode 1200 minimum absolute difference [sort] The Path of leetcode for heroding
- numpy笔记
- es6模块化
- Graduation season - personal summary
- 产品好不好,谁说了算?Sonar提出分析的性能指标,帮助您轻松判断产品性能及表现
- Techsmith Camtasia Studio 2022.0.2屏幕录制软件
- C language course design questions
- Guitar Pro 8win10最新版吉他学习 / 打谱 / 创作
- Helix swarm Chinese package is released, and perforce further improves the user experience in China
猜你喜欢
Programmers exposed that they took private jobs: they took more than 30 orders in 10 months, with a net income of 400000
函数计算异步任务能力介绍 - 任务触发去重
Korean AI team plagiarizes shock academia! One tutor with 51 students, or plagiarism recidivist
Xcode abnormal pictures cause IPA packet size problems
Summary of common problems in development
Combined with case: the usage of the lowest API (processfunction) in Flink framework
LeetCode 1200 最小绝对差[排序] HERODING的LeetCode之路
Query optimizer for SQL optimization
为什么国产手机用户换下一部手机时,都选择了iPhone?
When synchronized encounters this thing, there is a big hole, pay attention!
随机推荐
LVGL 8.2 Sorting a List using up and down buttons
IO流:节点流和处理流详细归纳。
函数计算异步任务能力介绍 - 任务触发去重
Docker compose public network deployment redis sentinel mode
[differential privacy and data adaptability] differential privacy code implementation series (XIV)
Introduction to modern control theory + understanding
UFO:微软学者提出视觉语言表征学习的统一Transformer,在多个多模态任务上达到SOTA性能!...
Introduction to asynchronous task capability of function calculation - task trigger de duplication
Preliminary exploration of flask: WSGI
C language programming
Korean AI team plagiarizes shock academia! One tutor with 51 students, or plagiarism recidivist
They are all talking about Devops. Do you really understand it?
Openresty current limiting
When synchronized encounters this thing, there is a big hole, pay attention!
对话龙智高级咨询顾问、Atlassian认证专家叶燕秀:Atlassian产品进入后Server时代,中国用户应当何去何从?
Graduation season - personal summary
UFO: Microsoft scholars have proposed a unified transformer for visual language representation learning to achieve SOTA performance on multiple multimodal tasks
LeetCode 1200 最小絕對差[排序] HERODING的LeetCode之路
Ffprobe common commands
Ffmpeg Visual Studio development (IV): audio decoding