当前位置:网站首页>Align left and right!
Align left and right!
2022-07-04 15:04:00 【Zaltana】
Output 3.1415926,22.3456, Width is 14, Accuracy of 6, Align left and right respectively .
Format
Input format : nothing
Output format : Output is real , The blank space to separate . The output of each number occupies one line .
Examples
Input : nothing
Output :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;
}
边栏推荐
- es6模块化
- LVGL 8.2 Draw label with gradient color
- LVGL 8.2 Sorting a List using up and down buttons
- 对话龙智高级咨询顾问、Atlassian认证专家叶燕秀:Atlassian产品进入后Server时代,中国用户应当何去何从?
- Redis的4种缓存模式分享
- remount of the / superblock failed: Permission denied
- Luo Gu - some interesting questions 2
- 【大连理工大学】考研初试复试资料分享
- 进制乱炖
- Go zero micro service practical series (IX. ultimate optimization of seckill performance)
猜你喜欢
微博、虎牙挺进兴趣社区:同行不同路
Expose Ali's salary and position level
Node mongodb installation
Ffmpeg Visual Studio development (IV): audio decoding
Weibo and Huya advance into interest communities: different paths for peers
Cann operator: using iterators to efficiently realize tensor data cutting and blocking processing
深度学习 神经网络案例(手写数字识别)
Kubernets Pod 存在 Finalizers 一直处于 Terminating 状态
力扣刷题01(反转链表+滑动窗口+LRU缓存机制)
如何搭建一支搞垮公司的技术团队?
随机推荐
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
深度学习7 Transformer系列实例分割Mask2Former
03 storage system
Implementation of macro instruction of first-order RC low-pass filter in signal processing (easy touch screen)
【大连理工大学】考研初试复试资料分享
A keepalived high availability accident made me learn it again
[C language] Pointer written test questions
产品好不好,谁说了算?Sonar提出分析的性能指标,帮助您轻松判断产品性能及表现
Ffprobe common commands
LVGL 8.2 Sorting a List using up and down buttons
LVGL 8.2 Menu
C language small commodity management system
Analysis of nearly 100 million dollars stolen and horizon cross chain bridge attacked
进制乱炖
Luo Gu - some interesting questions
They are all talking about Devops. Do you really understand it?
LVGL 8.2 List
UFO: Microsoft scholars have proposed a unified transformer for visual language representation learning to achieve SOTA performance on multiple multimodal tasks
Go zero micro service practical series (IX. ultimate optimization of seckill performance)
PLC模拟量输入 模拟量转换FC S_ITR (CODESYS平台)