当前位置:网站首页>左右对齐!
左右对齐!
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;
}边栏推荐
猜你喜欢

Gin integrated Alipay payment

IO flow: node flow and processing flow are summarized in detail.

Ffprobe common commands

Redis 解决事务冲突之乐观锁和悲观锁
![Leetcode 1200 minimum absolute difference [sort] the way of leetcode in heroding](/img/4a/6763e3fbdeaf9de673fbe8eaf96858.png)
Leetcode 1200 minimum absolute difference [sort] the way of leetcode in heroding

A keepalived high availability accident made me learn it again

Explain of SQL optimization

The performance of major mainstream programming languages is PK, and the results are unexpected

如何配和弦

Opencv learning notes - linear filtering: box filtering, mean filtering, Gaussian filtering
随机推荐
LVGL 8.2 Menu
C language book rental management system
Free, easy-to-use, powerful lightweight note taking software evaluation: drafts, apple memo, flomo, keep, flowus, agenda, sidenote, workflow
[information retrieval] link analysis
UFO:微软学者提出视觉语言表征学习的统一Transformer,在多个多模态任务上达到SOTA性能!...
Cann operator: using iterators to efficiently realize tensor data cutting and blocking processing
LVLG 8.2 circular scrolling animation of a label
找数字
C language small commodity management system
How to match chords
On the implementation plan of MySQL explain
flutter 报错 No MediaQuery widget ancestor found.
Alcohol driving monitoring system based on stm32+ Huawei cloud IOT design
毕业季-个人总结
The performance of major mainstream programming languages is PK, and the results are unexpected
openresty 限流
[information retrieval] experiment of classification and clustering
Introduction to asynchronous task capability of function calculation - task trigger de duplication
LeetCode 1200 最小绝对差[排序] HERODING的LeetCode之路
Luo Gu - some interesting questions