当前位置:网站首页>左右对齐!
左右对齐!
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!
- Comment configurer un accord
- Openresty current limiting
- MP3是如何诞生的?
- 关于FPGA底层资源的细节问题
- LVGL 8.2 Draw label with gradient color
- No servers available for service: xxxx
- When synchronized encounters this thing, there is a big hole, pay attention!
- 金额计算用 BigDecimal 就万无一失了?看看这五个坑吧~~
- Query optimizer for SQL optimization
猜你喜欢

Wt588f02b-8s (c006_03) single chip voice IC scheme enables smart doorbell design to reduce cost and increase efficiency

SAIC Maxus officially released its new brand "mifa", and its flagship product mifa 9 was officially unveiled!

程序员自曝接私活:10个月时间接了30多个单子,纯收入40万

LVGL 8.2 Line

Gin integrated Alipay payment

10. (map data) offline terrain data processing (for cesium)

numpy笔记

TechSmith Camtasia studio 2022.0.2 screen recording software

微博、虎牙挺进兴趣社区:同行不同路

When synchronized encounters this thing, there is a big hole, pay attention!
随机推荐
openresty 限流
金额计算用 BigDecimal 就万无一失了?看看这五个坑吧~~
Transplant tinyplay for imx6q development board QT system
selenium 浏览器(2)
为什么国产手机用户换下一部手机时,都选择了iPhone?
Luo Gu - some interesting questions 2
Leetcode 1200 minimum absolute difference [sort] the way of leetcode in heroding
C language course design questions
LVGL 8.2 Line
Kubernets Pod 存在 Finalizers 一直处于 Terminating 状态
Analysis of nearly 100 million dollars stolen and horizon cross chain bridge attacked
How to build a technical team that will bring down the company?
openresty 重定向
LVGL 8.2 text shadow
Deep learning 7 transformer series instance segmentation mask2former
信号处理之一阶RC低通滤波器宏指令实现(繁易触摸屏)
When synchronized encounters this thing, there is a big hole, pay attention!
IO flow: node flow and processing flow are summarized in detail.
Deep learning network regularization
LVGL 8.2 LED